(condition: () => boolean)
| 315 | }); |
| 316 | |
| 317 | async function waitFor(condition: () => boolean): Promise<void> { |
| 318 | for (let attempt = 0; attempt < 20; attempt++) { |
| 319 | if (condition()) return; |
| 320 | await new Promise((resolve) => setTimeout(resolve, 10)); |
| 321 | } |
| 322 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…