Skip to content

Commit

Permalink
fix: Use a fixed time in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Artmann committed Sep 4, 2024
1 parent 23b233a commit 28cdb8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logger.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ vi.mock('chalk', async () => ({
describe('Logger', () => {
beforeEach(() => {
vi.useFakeTimers()
vi.setSystemTime(new Date(2024, 8, 31))
vi.setSystemTime(new Date('2024-09-30T22:00:00.000Z'))
})

afterEach(() => {
Expand Down

0 comments on commit 28cdb8c

Please sign in to comment.