(path)
| 86 | } |
| 87 | |
| 88 | async function fileExists(path) { |
| 89 | try { |
| 90 | await access(path, constants.F_OK) |
| 91 | return true |
| 92 | } catch { |
| 93 | return false |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | async function waitForFile(path, timeoutMs) { |
| 98 | const startedAt = performance.now() |
no outgoing calls
no test coverage detected