MCPcopy
hub / github.com/jestjs/jest / runAllTimersAsync

Method runAllTimersAsync

packages/jest-fake-timers/src/modernFakeTimers.ts:57–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 }
56
57 async runAllTimersAsync(): Promise<void> {
58 if (this._checkFakeTimers()) {
59 await this._clock.runAllAsync();
60 }
61 }
62
63 runOnlyPendingTimers(): void {
64 if (this._checkFakeTimers()) {

Callers

nothing calls this directly

Calls 1

_checkFakeTimersMethod · 0.95

Tested by

no test coverage detected