mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 05:37:22 +01:00
fix(test): linting and constant
This commit is contained in:
@@ -11,7 +11,7 @@ import {
|
||||
} from '../../helpers/common.helper';
|
||||
|
||||
describe('shared.ops.purchase', () => {
|
||||
const SEASONAL_FOOD = 'Meat';
|
||||
const SEASONAL_FOOD = 'Cake_Base';
|
||||
let user;
|
||||
let goldPoints = 40;
|
||||
let gemsBought = 40;
|
||||
|
||||
@@ -85,18 +85,18 @@ function _setUpNewUser (user) {
|
||||
user._ABtests.checkInModals = '20161221_showCheckInPreviews'; // show 'preview' check-in modals
|
||||
}
|
||||
user.items.quests.dustbunnies = 1;
|
||||
user.items.gear.owned.armor_special_birthday = false;
|
||||
user.items.gear.owned.armor_special_birthday = false; // eslint-disable-line camelcase
|
||||
user.items.food = {
|
||||
'Cake_Base': 1,
|
||||
'Cake_CottonCandyBlue': 1,
|
||||
'Cake_CottonCandyPink': 1,
|
||||
'Cake_Desert': 1,
|
||||
'Cake_Golden': 1,
|
||||
'Cake_Red': 1,
|
||||
'Cake_Shade': 1,
|
||||
'Cake_Skeleton': 1,
|
||||
'Cake_White': 1,
|
||||
'Cake_Zombie': 1,
|
||||
Cake_Base: 1, // eslint-disable-line camelcase
|
||||
Cake_CottonCandyBlue: 1, // eslint-disable-line camelcase
|
||||
Cake_CottonCandyPink: 1, // eslint-disable-line camelcase
|
||||
Cake_Desert: 1, // eslint-disable-line camelcase
|
||||
Cake_Golden: 1, // eslint-disable-line camelcase
|
||||
Cake_Red: 1, // eslint-disable-line camelcase
|
||||
Cake_Shade: 1, // eslint-disable-line camelcase
|
||||
Cake_Skeleton: 1, // eslint-disable-line camelcase
|
||||
Cake_White: 1, // eslint-disable-line camelcase
|
||||
Cake_Zombie: 1, // eslint-disable-line camelcase
|
||||
};
|
||||
|
||||
if (user.registeredThrough === 'habitica-web' || user.registeredThrough === 'habitica-android') {
|
||||
|
||||
@@ -3,7 +3,7 @@ h2 1/31/2017 - HABITICA BIRTHDAY PARTY AND LAST CHANCE FOR MANY SPECIAL ITEMS
|
||||
tr
|
||||
td
|
||||
h3 Habitica Birthday Bash
|
||||
p January 31st is Habitica's Birthday! Thank you so much for being a part of our community - it means a lot.
|
||||
p January 31st is Habitica's 4th Birthday! Thank you so much for being a part of our community - it means a lot.
|
||||
br
|
||||
p Now come join us and the NPCs as we celebrate!
|
||||
tr
|
||||
|
||||
Reference in New Issue
Block a user