(check: () => boolean, timeoutMs: number)
| 73 | } |
| 74 | |
| 75 | async function waitUntil(check: () => boolean, timeoutMs: number): Promise<void> { |
| 76 | const deadline = Date.now() + timeoutMs; |
| 77 | while (!check() && Date.now() < deadline) await sleep(50); |
| 78 | } |
| 79 | |
| 80 | describe('CODEGRAPH_SYNTH_MIN_INTERVAL_MS holds a sync\'s synthesis (#2911)', () => { |
| 81 | let dir = ''; |
no test coverage detected