(fn: () => T)
| 463 | |
| 464 | // Async version that waits for application to stabilize (for NgModel's async value updates) |
| 465 | async function actAsync<T>(fn: () => T): Promise<T> { |
| 466 | try { |
| 467 | return fn(); |
| 468 | } finally { |
| 469 | await TestBed.inject(ApplicationRef).whenStable(); |
| 470 | } |
| 471 | } |
no test coverage detected
searching dependent graphs…