diff --git a/tests/utils/misc/wait.ts b/tests/utils/misc/wait.ts index f66ab89e..7b4f0ef3 100644 --- a/tests/utils/misc/wait.ts +++ b/tests/utils/misc/wait.ts @@ -14,5 +14,5 @@ test('advances timers when set', async () => { expect(performance.now() - beforeFake).toBe(1000) jest.useRealTimers() - expect(performance.now() - beforeReal).toBeLessThan(10) + expect(performance.now() - beforeReal).toBeLessThan(1000) }, 10)