diff --git a/test/content/events.test.js b/test/content/events.test.js index 2b16e3d2fe..bf24b37bfd 100644 --- a/test/content/events.test.js +++ b/test/content/events.test.js @@ -18,7 +18,7 @@ describe('events', () => { it('returns events when active', () => { clock = sinon.useFakeTimers(new Date('2024-01-31')); const events = getRepeatingEvents(); - expect(events).to.have.length(); + expect(events).to.have.length(1); expect(events[0].key).to.equal('birthday'); expect(events[0].end).to.be.greaterThan(new Date()); expect(events[0].start).to.be.lessThan(new Date()); diff --git a/test/content/food.test.js b/test/content/food.test.js index 5cdb2b80bc..4b64df7edf 100644 --- a/test/content/food.test.js +++ b/test/content/food.test.js @@ -72,7 +72,7 @@ describe('food', () => { }); it('sets canDrop for pie if it is pie season', () => { - clock = sinon.useFakeTimers(new Date(2024, 2, 14)); + clock = sinon.useFakeTimers(new Date(2024, 2, 15)); const datedContent = require('../../website/common/script/content').default; each(datedContent.food, foodItem => { if (foodItem.key.indexOf('Pie_') !== -1) { diff --git a/test/content/index.test.js b/test/content/index.test.js index 265824b97c..c7cb9c7bef 100644 --- a/test/content/index.test.js +++ b/test/content/index.test.js @@ -131,7 +131,7 @@ describe('content index', () => { }); it('marks pie as buyable and droppable during pi day', () => { - clock = sinon.useFakeTimers(new Date('2024-03-14')); + clock = sinon.useFakeTimers(new Date('2024-03-15')); const { food } = content; Object.keys(food).forEach(key => { if (key === 'Saddle') {