(p: string)
| 136 | } |
| 137 | |
| 138 | function tryAccess(p: string): boolean { |
| 139 | try { |
| 140 | accessSync(p); |
| 141 | return true; |
| 142 | } catch { |
| 143 | return false; |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | async function waitForPort(port: number, timeoutMs: number): Promise<boolean> { |
| 148 | const deadline = Date.now() + timeoutMs; |
no outgoing calls
no test coverage detected