(fn: () => T)
| 312 | * ``` |
| 313 | */ |
| 314 | export async function actAsync<T>(fn: () => T): Promise<T> { |
| 315 | const result = fn(); |
| 316 | await TestBed.inject(ApplicationRef).whenStable(); |
| 317 | return result; |
| 318 | } |
| 319 | |
| 320 | /** |
| 321 | * Executes a function and flushes the Angular scheduler synchronously. |
no test coverage detected