This commit is contained in:
Phillip Thelen
2024-06-10 14:46:32 +02:00
parent d4ba96796c
commit eb3220c96b
5 changed files with 10 additions and 12 deletions

View File

@@ -150,7 +150,6 @@ describe('shops', () => {
expect(rogueItems.length, 'Rogue seasonal gear').to.eql(4);
});
it('seasonal gear contains end date', () => {
const categories = shared.shops.getMarketGearCategories(user);
categories.forEach(category => {

View File

@@ -353,6 +353,5 @@ describe('shared.ops.purchase', () => {
expect(err.message).to.equal(i18n.t('invalidQuantity'));
}
});
});
});

View File

@@ -36,7 +36,7 @@ describe('shared.ops.unlock', () => {
}
});
it('does not unlock lost gear', async () => {
it('does not unlock lost gear', async () => {
user.items.gear.owned.headAccessory_special_bearEars = false;
await unlock(user, {

View File

@@ -9,7 +9,7 @@ const potentialFeaturedPetQuests = [
'slime',
'cat',
'frog',
'monkey',
@@ -18,7 +18,7 @@ const potentialFeaturedPetQuests = [
'hippo',
'giraffe',
'guineapig',
'cheetah',
@@ -31,8 +31,8 @@ const potentialFeaturedPetQuests = [
'owl',
'ghost_stag',
'sabretooth'
]
'sabretooth',
];
// hatching potions and food names should be capitalized lest you break the market
const featuredItems = {
@@ -65,10 +65,10 @@ const featuredItems = {
});
const hatchingPotionQuests = getScheduleMatchingGroup('hatchingPotionQuests').items;
hatchingPotionQuests.forEach(itemKey => {
featured.push({
type: 'quests',
path: `quests.${itemKey}`,
});
featured.push({
type: 'quests',
path: `quests.${itemKey}`,
});
});
return featured;
},

View File

@@ -591,7 +591,7 @@ shops.getCustomizationsShopCategories = function getCustomizationsShopCategories
identifier: 'backgrounds',
text: i18n.t('backgrounds', language),
items: [],
end: matchers.end
end: matchers.end,
};
eachRight(content.backgrounds, (group, key) => {