mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
fix lint
This commit is contained in:
@@ -150,7 +150,6 @@ describe('shops', () => {
|
|||||||
expect(rogueItems.length, 'Rogue seasonal gear').to.eql(4);
|
expect(rogueItems.length, 'Rogue seasonal gear').to.eql(4);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
it('seasonal gear contains end date', () => {
|
it('seasonal gear contains end date', () => {
|
||||||
const categories = shared.shops.getMarketGearCategories(user);
|
const categories = shared.shops.getMarketGearCategories(user);
|
||||||
categories.forEach(category => {
|
categories.forEach(category => {
|
||||||
|
|||||||
@@ -353,6 +353,5 @@ describe('shared.ops.purchase', () => {
|
|||||||
expect(err.message).to.equal(i18n.t('invalidQuantity'));
|
expect(err.message).to.equal(i18n.t('invalidQuantity'));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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;
|
user.items.gear.owned.headAccessory_special_bearEars = false;
|
||||||
|
|
||||||
await unlock(user, {
|
await unlock(user, {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ const potentialFeaturedPetQuests = [
|
|||||||
|
|
||||||
'slime',
|
'slime',
|
||||||
'cat',
|
'cat',
|
||||||
|
|
||||||
'frog',
|
'frog',
|
||||||
|
|
||||||
'monkey',
|
'monkey',
|
||||||
@@ -18,7 +18,7 @@ const potentialFeaturedPetQuests = [
|
|||||||
|
|
||||||
'hippo',
|
'hippo',
|
||||||
'giraffe',
|
'giraffe',
|
||||||
|
|
||||||
'guineapig',
|
'guineapig',
|
||||||
|
|
||||||
'cheetah',
|
'cheetah',
|
||||||
@@ -31,8 +31,8 @@ const potentialFeaturedPetQuests = [
|
|||||||
'owl',
|
'owl',
|
||||||
|
|
||||||
'ghost_stag',
|
'ghost_stag',
|
||||||
'sabretooth'
|
'sabretooth',
|
||||||
]
|
];
|
||||||
|
|
||||||
// hatching potions and food names should be capitalized lest you break the market
|
// hatching potions and food names should be capitalized lest you break the market
|
||||||
const featuredItems = {
|
const featuredItems = {
|
||||||
@@ -65,10 +65,10 @@ const featuredItems = {
|
|||||||
});
|
});
|
||||||
const hatchingPotionQuests = getScheduleMatchingGroup('hatchingPotionQuests').items;
|
const hatchingPotionQuests = getScheduleMatchingGroup('hatchingPotionQuests').items;
|
||||||
hatchingPotionQuests.forEach(itemKey => {
|
hatchingPotionQuests.forEach(itemKey => {
|
||||||
featured.push({
|
featured.push({
|
||||||
type: 'quests',
|
type: 'quests',
|
||||||
path: `quests.${itemKey}`,
|
path: `quests.${itemKey}`,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
return featured;
|
return featured;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -591,7 +591,7 @@ shops.getCustomizationsShopCategories = function getCustomizationsShopCategories
|
|||||||
identifier: 'backgrounds',
|
identifier: 'backgrounds',
|
||||||
text: i18n.t('backgrounds', language),
|
text: i18n.t('backgrounds', language),
|
||||||
items: [],
|
items: [],
|
||||||
end: matchers.end
|
end: matchers.end,
|
||||||
};
|
};
|
||||||
|
|
||||||
eachRight(content.backgrounds, (group, key) => {
|
eachRight(content.backgrounds, (group, key) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user