(port: number)
| 18 | const COMPOSE_PATH = path.resolve(TESTDRIVE_PATH, "mzcompose"); |
| 19 | |
| 20 | export async function getMaterializeEndpoint(port: number) { |
| 21 | const { stdout } = await mzcompose(`port materialized ${port}`); |
| 22 | const [host, mappedPort] = stdout.split(":"); |
| 23 | |
| 24 | return { host, port: parseInt(mappedPort) }; |
| 25 | } |
| 26 | |
| 27 | export async function getMaterializeEndpoints() { |
| 28 | // When running inside the Docker composition (via mzcompose), endpoints are |
no test coverage detected