mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
Add some tests for time travelers content
This commit is contained in:
parent
c56c07a0f8
commit
cac0a84763
1 changed files with 20 additions and 0 deletions
|
|
@ -216,6 +216,26 @@ describe('shops', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
|
||||
it('returns pets', () => {
|
||||
const pets = shopCategories.find(cat => cat.identifier === 'pets').items;
|
||||
expect(pets.length).to.be.greaterThan(0);
|
||||
});
|
||||
|
||||
it('returns mounts', () => {
|
||||
const mounts = shopCategories.find(cat => cat.identifier === 'mounts').items;
|
||||
expect(mounts.length).to.be.greaterThan(0);
|
||||
});
|
||||
|
||||
it('returns quests', () => {
|
||||
const quests = shopCategories.find(cat => cat.identifier === 'quests').items;
|
||||
expect(quests.length).to.be.greaterThan(0);
|
||||
});
|
||||
|
||||
it('returns backgrounds', () => {
|
||||
const backgrounds = shopCategories.find(cat => cat.identifier === 'backgrounds').items;
|
||||
expect(backgrounds.length).to.be.greaterThan(0);
|
||||
});
|
||||
});
|
||||
|
||||
describe('seasonalShop', () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue