Fake timers and await are fighting in your Vitest test
DEV Community
Fake timers and await are fighting in your Vitest test
advanceTimersByTime moves the clock but not the microtask queue. That mismatch is why your timer test hangs on a promise that never settles.
0 comments
No comments yet.