Set node env for test

This commit is contained in:
Daniel García Aubert 2019-11-28 17:30:29 +01:00
parent f297044203
commit e841774978

View File

@ -72,7 +72,7 @@
"lint": "eslint app.js \"lib/**/*.js\" \"test/**/*.js\"",
"preinstall": "make pre-install",
"pretest": "NODE_ENV=test node test setup",
"test": "mocha -t 5000 --exit --recursive test/acceptance test/integration test/unit",
"test": "NODE_ENV=test mocha -t 5000 --exit --recursive test/acceptance test/integration test/unit",
"posttest": "NODE_ENV=test node test teardown",
"update-internal-deps": "rm -rf node_modules && npm install",
"docker-test": "./docker-test.sh",