Draft: added script to setup and tear down tests

This commit is contained in:
Daniel García Aubert
2019-11-22 19:47:00 +01:00
parent 69afee61e0
commit eee3e8b63c
2 changed files with 141 additions and 1 deletions
+3 -1
View File
@@ -71,7 +71,9 @@
"lint:fix": "eslint --fix app.js \"lib/**/*.js\" \"test/**/*.js\"",
"lint": "eslint app.js \"lib/**/*.js\" \"test/**/*.js\"",
"preinstall": "make pre-install",
"test": "make test-all",
"pretest": "NODE_ENV=test node test setup",
"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",
"docker-bash": "./docker-bash.sh"