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

Method clearAllTimers

packages/jest-environment/src/index.ts:118–118  ·  view source on GitHub ↗

* Removes any pending timers from the timer system. If any timers have been * scheduled, they will be cleared and will never have the opportunity to * execute in the future.

()

Source from the content-addressed store, hash-verified

116 * execute in the future.
117 */
118 clearAllTimers(): void;
119 /**
120 * Given the name of a module, use the automatic mocking system to generate a
121 * mocked version of the module for you.

Callers 6

resetModulesMethod · 0.65
buildJestObjectMethod · 0.65
jest.test.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected