MCPcopy Create free account
hub / github.com/testing-library/user-event / getTimerCount

Method getTimerCount

testenv/modules/fakeTimers.ts:112–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110 }
111
112 getTimerCount(): number {
113 this.assertFakeTimers()
114 return this.clock!.countTimers()
115 }
116
117 protected assertFakeTimers() {
118 if (!this.clock) {

Callers

nothing calls this directly

Calls 1

assertFakeTimersMethod · 0.95

Tested by

no test coverage detected