mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 11:46:23 +00:00
fix import
This commit is contained in:
parent
0bc3f16b4b
commit
254dd80f24
2 changed files with 6 additions and 2 deletions
|
|
@ -12,6 +12,7 @@ describe('armoire', () => {
|
|||
clock.restore();
|
||||
}
|
||||
});
|
||||
|
||||
it('does not return unreleased gear', async () => {
|
||||
clock = sinon.useFakeTimers(new Date('2024-01-02'));
|
||||
const items = armoire.all;
|
||||
|
|
|
|||
|
|
@ -586,8 +586,8 @@ import reduce from 'lodash/reduce';
|
|||
import moment from 'moment';
|
||||
|
||||
import planGemLimits from '@/../../common/script/libs/planGemLimits';
|
||||
import { drops as dropEggs } from '@/../../common/script/content/eggs';
|
||||
import { drops as dropPotions } from '@/../../common/script/content/hatching-potions';
|
||||
import eggs from '@/../../common/script/content/eggs';
|
||||
import hatchingPotions from '@/../../common/script/content/hatching-potions';
|
||||
import { avatarEditorUtilities } from '@/mixins/avatarEditUtilities';
|
||||
import numberInvalid from '@/mixins/numberInvalid';
|
||||
import spellsMixin from '@/mixins/spells';
|
||||
|
|
@ -617,6 +617,9 @@ import EquipmentAttributesGrid from '../inventory/equipment/attributesGrid.vue';
|
|||
import Item from '@/components/inventory/item';
|
||||
import Avatar from '@/components/avatar';
|
||||
|
||||
const dropEggs = eggs.drops;
|
||||
const dropPotions = hatchingPotions.drops;
|
||||
|
||||
const dropEggKeys = keys(dropEggs);
|
||||
|
||||
const amountOfDropEggs = size(dropEggs);
|
||||
|
|
|
|||
Loading…
Reference in a new issue