Skip to content

Commit

Permalink
Changed mocha to mocha --exit
Browse files Browse the repository at this point in the history
When using `chai-http`, `mocha` doesn't seem to exit but instead waits.

There seems to be some workarounds (chaijs/chai-http#178), but adding this argument is the easiest for now until more code is written.
  • Loading branch information
stuajnht committed Jan 21, 2019
1 parent 611ec98 commit d9c1c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "A NuGet server written in Node. Designed to host a Chocolatey internal package feed.",
"main": "index.js",
"scripts": {
"test": "mocha"
"test": "mocha --exit"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit d9c1c06

Please sign in to comment.