Prove flag to force exit mocha on test run
parent
1a9122cf52
commit
72d3cac89f
|
@ -10,7 +10,7 @@
|
|||
"dev": "DEBUG='cc:*' NODE_ENV=dev nodemon server.js",
|
||||
"eslint": "$(npm bin)/eslint",
|
||||
"lint": "eslint '**/*.js'",
|
||||
"test": "mocha --require ./test/config/spec_helper.js",
|
||||
"test": "mocha --exit --require ./test/config/spec_helper.js",
|
||||
"start-test": "DEBUG='cc:*' NODE_ENV=unitTest node server.js",
|
||||
"start-api-test": "rm -rf ./apib/dredd/data/tmp-resource && cp -r ./apib/dredd/data/resource ./apib/dredd/data/tmp-resource && DEBUG='cc:*' NODE_ENV=dreddTest node server.js",
|
||||
"api:compile-docs": "$(npm bin)/hercule apib/dev-doc.apib -o apib/documentation.apib",
|
||||
|
|
Loading…
Reference in New Issue