()
| 97 | } |
| 98 | |
| 99 | const refreshTimeout = () => { |
| 100 | clearTimeout(timeout) |
| 101 | timeout = setTimeout(() => { |
| 102 | fail(new Error(`Sidecar did not become ready within ${SIDECAR_START_STALL_TIMEOUT}ms: ${sidecar}`)) |
| 103 | }, SIDECAR_START_STALL_TIMEOUT) |
| 104 | } |
| 105 | |
| 106 | const onMessage = (message: SidecarMessage) => { |
| 107 | if (message.type === "ready") { |
no test coverage detected