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

Method _fakeClearTimer

packages/jest-fake-timers/src/legacyFakeTimers.ts:472–478  ·  view source on GitHub ↗
(timerRef: TimerRef)

Source from the content-addressed store, hash-verified

470 }
471
472 private _fakeClearTimer(timerRef: TimerRef) {
473 const uuid = this._timerConfig.refToId(timerRef);
474
475 if (uuid) {
476 this._timers.delete(String(uuid));
477 }
478 }
479
480 private _fakeClearImmediate(uuid: TimerID) {
481 this._immediates = this._immediates.filter(

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.80

Tested by

no test coverage detected