Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jest-runtime): expose @sinonjs/fake-timers async APIs #13981

Merged
merged 14 commits into from
Mar 6, 2023
Prev Previous commit
Next Next commit
fixed method name and added parameter in documentation
  • Loading branch information
lpizzinidev committed Mar 5, 2023
commit f927e60d843c9c3cfd5db3770db6992c84c3f118
4 changes: 2 additions & 2 deletions docs/JestObjectAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ This function is not available when using legacy fake timers implementation.

:::

### `jest.runAllTimers()`
### `jest.runAllTimersAsync()`

Runs all pending timers until there are none remaining.

Expand All @@ -1019,7 +1019,7 @@ This function is not available when using legacy fake timers implementation.

:::

### `jest.advanceTimersByTimeAsync()`
### `jest.advanceTimersByTimeAsync(msToRun)`

Advance the clock, firing callbacks if necessary.

Expand Down