Use NODE_ENV to test for test environment; improve scripts
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user