()
| 181 | * Cancels all timers scheduled during the current test |
| 182 | */ |
| 183 | export function cancelTimersForTesting() { |
| 184 | if (!timersForTesting) { |
| 185 | return; |
| 186 | } |
| 187 | timersForTesting.forEach(clearTimeout); |
| 188 | timersForTesting = null; |
| 189 | } |
no test coverage detected