diff --git a/test/gateway.multi.e2e.test.ts b/test/gateway.multi.e2e.test.ts index 0022e71db..39e1995b9 100644 --- a/test/gateway.multi.e2e.test.ts +++ b/test/gateway.multi.e2e.test.ts @@ -122,9 +122,9 @@ const spawnGatewayInstance = async (name: string): Promise => { try { child = spawn( - "bun", + "node", [ - "src/index.ts", + "dist/index.js", "gateway", "--port", String(port), @@ -222,7 +222,7 @@ const runCliJson = async ( ): Promise => { const stdout: string[] = []; const stderr: string[] = []; - const child = spawn("bun", ["src/index.ts", ...args], { + const child = spawn("node", ["dist/index.js", ...args], { cwd: process.cwd(), env: { ...process.env, ...env }, stdio: ["ignore", "pipe", "pipe"],