From 7f66cc28e0bb55e563603e9ff0c6ccb0f5dae146 Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Wed, 17 Jul 2024 15:43:38 +0200 Subject: [PATCH] fix test --- test/content/index.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/content/index.test.js b/test/content/index.test.js index 54ea054b64..265824b97c 100644 --- a/test/content/index.test.js +++ b/test/content/index.test.js @@ -42,23 +42,23 @@ describe('content index', () => { expect(Object.keys(juneGear).length, '').to.equal(Object.keys(julyGear).length - 3); }); - it('Releases pets gear when appropriate without needing restarting', () => { + it('Releases pets when appropriate without needing restarting', () => { clock = sinon.useFakeTimers(new Date('2024-06-20')); const junePets = content.petInfo; expect(junePets['Chameleon-Base']).to.not.exist; clock.restore(); - clock = sinon.useFakeTimers(new Date('2024-07-10')); + clock = sinon.useFakeTimers(new Date('2024-07-18')); const julyPets = content.petInfo; expect(julyPets['Chameleon-Base']).to.exist; expect(Object.keys(junePets).length, '').to.equal(Object.keys(julyPets).length - 10); }); - it('Releases mounts gear when appropriate without needing restarting', () => { + it('Releases mounts when appropriate without needing restarting', () => { clock = sinon.useFakeTimers(new Date('2024-06-20')); const juneMounts = content.mountInfo; expect(juneMounts['Chameleon-Base']).to.not.exist; clock.restore(); - clock = sinon.useFakeTimers(new Date('2024-07-10')); + clock = sinon.useFakeTimers(new Date('2024-07-18')); const julyMounts = content.mountInfo; expect(julyMounts['Chameleon-Base']).to.exist; expect(Object.keys(juneMounts).length, '').to.equal(Object.keys(julyMounts).length - 10);