diff --git a/tests/library/clock.spec.ts b/tests/library/clock.spec.ts index cf27d2744b..47a99c68ba 100644 --- a/tests/library/clock.spec.ts +++ b/tests/library/clock.spec.ts @@ -1734,7 +1734,6 @@ it.describe('stubTimers', () => { }); it('decide on Date.now support at call-time when supported', async ({ install }) => { - (Date.now as any) = () => {}; install({ now: 0 }); expect(Date.now).toEqual(expect.any(Function)); });