(fn: Function)
| 23 | |
| 24 | // Schedules a microtasks (using queueMicrotask) |
| 25 | function microTask(fn: Function): void { |
| 26 | queueMicrotask(() => { |
| 27 | // We do double dispatch so that we can wait for queueMicrotask in the Testability when |
| 28 | // NgZone becomes stable. |
| 29 | queueMicrotask(() => fn()); |
| 30 | }); |
| 31 | } |
| 32 | |
| 33 | class NoopGetTestability implements GetTestability { |
| 34 | addToWindow(registry: TestabilityRegistry): void {} |
no test coverage detected
searching dependent graphs…