(fn: (...args: any[]) => void, timer = 1)
| 22 | const resultTimer = 1000; |
| 23 | // Schedules a macrotask (using a timer) |
| 24 | function macroTask(fn: (...args: any[]) => void, timer = 1): void { |
| 25 | // adds longer timers for passing tests in IE and Edge |
| 26 | setTimeout(fn, 1); |
| 27 | } |
| 28 | |
| 29 | let _log: Log; |
| 30 | let _errors: any[]; |
no test coverage detected
searching dependent graphs…