(fn: () => T)
| 6543 | } |
| 6544 | |
| 6545 | function act<T>(fn: () => T): T { |
| 6546 | try { |
| 6547 | return fn(); |
| 6548 | } finally { |
| 6549 | TestBed.tick(); |
| 6550 | } |
| 6551 | } |
| 6552 | |
| 6553 | /** |
| 6554 | * Replace with `Promise.withResolvers()` once it's available. |
no test coverage detected