diff --git a/apps/site/next-data/generators/__tests__/releaseData.test.mjs b/apps/site/next-data/generators/__tests__/releaseData.test.mjs index 0082f03560d5a..5c92881e5c7a1 100644 --- a/apps/site/next-data/generators/__tests__/releaseData.test.mjs +++ b/apps/site/next-data/generators/__tests__/releaseData.test.mjs @@ -10,6 +10,15 @@ import generateReleaseData from '@/next-data/generators/releaseData.mjs'; jest.mock('@nodevu/core'); describe('generateReleaseData', () => { + beforeAll(() => { + jest.useFakeTimers(); + jest.setSystemTime(new Date('2024-10-18')); + }); + + afterAll(() => { + jest.useRealTimers(); + }); + test('generates release data with correct status', async () => { const mockNodevuOutput = { 14: {