(fn: () => T)
| 814 | |
| 815 | // Async version that waits for application to stabilize (for NgModel's async value updates) |
| 816 | async function actAsync<T>(fn: () => T): Promise<T> { |
| 817 | try { |
| 818 | return fn(); |
| 819 | } finally { |
| 820 | await TestBed.inject(ApplicationRef).whenStable(); |
| 821 | } |
| 822 | } |
no test coverage detected