Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Commit

Permalink
added bail flag to unit tests so if they fail the whole build will fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob-Meijeren authored and christian-bromann committed Jul 30, 2018
1 parent 9abfd64 commit f53634c
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 @@ -14,7 +14,7 @@
"release:major": "np major",
"test": "run-s eslint test:unit build test:postadapter",
"test:ci": "run-s clean eslint build test:cover test:postadapter",
"test:unit": "mocha --compilers js:babel-core/register \"./test/!(adapter.spec).js\"",
"test:unit": "mocha --bail --compilers js:babel-core/register \"./test/!(adapter.spec).js\"",
"test:postadapter": "mocha test/adapter.spec.js",
"test:cover": "babel-node ./node_modules/.bin/isparta cover --include 'lib/*.js' _mocha -- \"test/!(adapter.spec).js\"",
"prepare": "npm prune",
Expand Down

0 comments on commit f53634c

Please sign in to comment.