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