Skip to content

Commit a5c563a

Browse files
authored
Merge branch 'main' into feat-coverage-default-to-text-reporter-skipfull-if-agent-detected
2 parents 8b8cea9 + a245c28 commit a5c563a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/guide/mocking/timers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe('delayed execution', () => {
2424
vi.useFakeTimers()
2525
})
2626
afterEach(() => {
27-
vi.restoreAllMocks()
27+
vi.clearAllMocks()
2828
})
2929
it('should execute the function', () => {
3030
executeAfterTwoHours(mock)

0 commit comments

Comments
 (0)