index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-02 09:40:05 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-02 10:05:50 -0700 |
commit | d2c218f72d1ad5bd65407433a51688b0a9bd0d89 (patch) | |
tree | d3de1fe656a7e193dc21a2c46c62e10f2043944a /test | |
parent | e639bedadc81706a522ffe7658fea75300d082f7 (diff) |
Use NODE_ENV to test for test environment; improve scripts
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/setup.cjs | 2 |
1 files changed, 1 insertions, 1 deletions
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}`); |