We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b8cea9 + a245c28 commit a5c563aCopy full SHA for a5c563a
1 file changed
docs/guide/mocking/timers.md
@@ -24,7 +24,7 @@ describe('delayed execution', () => {
24
vi.useFakeTimers()
25
})
26
afterEach(() => {
27
- vi.restoreAllMocks()
+ vi.clearAllMocks()
28
29
it('should execute the function', () => {
30
executeAfterTwoHours(mock)
0 commit comments