Skip to content

Commit

Permalink
tests: bail after first test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus committed Dec 7, 2015
1 parent d412a1b commit 008d2d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@
"docs": "./scripts/docs.sh",
"lint": "jshint lib/ system-test/ test/ && jscs lib/ system-test/ test/",
"test": "npm run docs && mocha test/*/*.js test/index.js test/docs.js",
"system-test": "mocha system-test/* --timeout 60s",
"cover": "istanbul cover -x 'system-test/*' _mocha -- --timeout 60s test/*/*.js test/docs.js system-test/*",
"coveralls": "istanbul cover -x 'system-test/*' _mocha --report lcovonly -- --timeout 60s test/*/*.js test/docs.js system-test/* -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
"system-test": "mocha system-test/* --timeout 60s --bail",
"cover": "istanbul cover -x 'system-test/*' _mocha -- --timeout 60s --bail test/*/*.js test/docs.js system-test/*",
"coveralls": "istanbul cover -x 'system-test/*' _mocha --report lcovonly -- --timeout 60s --bail test/*/*.js test/docs.js system-test/* -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},
"license": "Apache-2.0"
}

0 comments on commit 008d2d5

Please sign in to comment.