Skip to content

Commit

Permalink
docs(mocking): fix Timers example (#1333)
Browse files Browse the repository at this point in the history
  • Loading branch information
zrev2220 committed May 20, 2022
1 parent 527bb37 commit ddd4a95
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/guide/mocking.md
Expand Up @@ -356,7 +356,6 @@ describe('delayed execution', () => {
it('should execute every minute', () => {
executeEveryMinute(mock)
vi.advanceTimersToNextTimer()
vi.advanceTimersToNextTimer()
expect(mock).toHaveBeenCalledTimes(1)
vi.advanceTimersToNextTimer()
expect(mock).toHaveBeenCalledTimes(2)
Expand Down

0 comments on commit ddd4a95

Please sign in to comment.