Tests: run e2e gateway with node
This commit is contained in:
@@ -122,9 +122,9 @@ const spawnGatewayInstance = async (name: string): Promise<GatewayInstance> => {
|
||||
|
||||
try {
|
||||
child = spawn(
|
||||
"bun",
|
||||
"node",
|
||||
[
|
||||
"src/index.ts",
|
||||
"dist/index.js",
|
||||
"gateway",
|
||||
"--port",
|
||||
String(port),
|
||||
@@ -222,7 +222,7 @@ const runCliJson = async (
|
||||
): Promise<unknown> => {
|
||||
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"],
|
||||
|
||||
Reference in New Issue
Block a user