()
| 261 | jasmine.createSpy('now').and.callFake(() => timestamps[counter++]); |
| 262 | let numCalls = 0; |
| 263 | const f = () => numCalls++; |
| 264 | const waitMs = 10; |
| 265 | const f2 = utils.debounce(f, waitMs, nowFunc); |
| 266 | // The first call is ignored since waitMs hasn't passed yet. |
no outgoing calls
no test coverage detected