Use NODE_ENV to test for test environment; improve scripts

This commit is contained in:
2025-06-16 22:41:29 -07:00
parent 014ae76634
commit ae91897ead
5 changed files with 19 additions and 20 deletions

View File

@@ -10,7 +10,7 @@
"selenium-webdriver": "^4.19.0"
},
"scripts": {
"start": "node dev-server.cjs",
"start": "node server.cjs",
"test:integ": "node --trace-warnings ./node_modules/.bin/jest --detectOpenHandles --config jest.config.integ.cjs",
"test:integ:debug": "NODE_INSPECT_RESUME_ON_START=1 node inspect ./node_modules/jest/bin/jest.js --config jest.config.integ.cjs --runInBand test/integration/page.test.js",
"test": "jest"