Use node env development.

This commit is contained in:
SamTV12345 2023-12-16 22:31:52 +01:00
parent 25b4ece39c
commit 9abc5a59a6
2 changed files with 2 additions and 1 deletions

View file

@ -46,6 +46,7 @@ jobs:
-
name: Test
run: |
export NODE_ENV=development
docker run --rm -d -p 9001:9001 --name test ${{ env.TEST_TAG }}
docker logs -f test &
./src/bin/installDeps.sh

View file

@ -102,7 +102,7 @@
"lint": "../node_modules/eslint/bin/eslint.js .",
"test": "../node_modules/mocha/bin/_mocha --timeout 120000 --recursive tests/backend/specs ../node_modules/ep_*/static/tests/backend/specs",
"test-on-windows": "npx mocha --timeout 120000 --recursive tests/backend/specs ../node_modules/ep_*/static/tests/backend/specs",
"test-container": "export NODE_ENV=development && npx mocha --timeout 5000 tests/container/specs/api",
"test-container": "npx mocha --timeout 5000 tests/container/specs/api",
"dev": "bash ./bin/run.sh"
},
"version": "1.9.5",