(fn: () => T)
| 805 | }); |
| 806 | |
| 807 | function act<T>(fn: () => T): T { |
| 808 | try { |
| 809 | return fn(); |
| 810 | } finally { |
| 811 | TestBed.tick(); |
| 812 | } |
| 813 | } |
| 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> { |
no test coverage detected