Web Dev Solutions

Catalin Mititiuc

From d2c218f72d1ad5bd65407433a51688b0a9bd0d89 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Thu, 2 May 2024 09:40:05 -0700 Subject: Use NODE_ENV to test for test environment; improve scripts --- test/integration/setup.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/integration/setup.cjs b/test/integration/setup.cjs index c476077..a03d7de 100644 --- a/test/integration/setup.cjs +++ b/test/integration/setup.cjs @@ -2,7 +2,7 @@ console.log("\nSpawning server process..."); const { spawn } = require("child_process"); module.exports = async function () { - const child = spawn("node", ["dev-server.cjs", "--test"]); + const child = spawn("node", ["server.cjs"]); child.stdout.on('data', (data) => { console.log(`${data}`); -- cgit v1.2.3