From cac0a847636b421f1cdf0611073545f17337a7cd Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Thu, 16 May 2024 20:19:20 +0200 Subject: [PATCH] Add some tests for time travelers content --- test/common/libs/shops.test.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/test/common/libs/shops.test.js b/test/common/libs/shops.test.js index 3db75b85a0..a7d46b75b6 100644 --- a/test/common/libs/shops.test.js +++ b/test/common/libs/shops.test.js @@ -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', () => {