Stop mocha tests after a failure
authorChocobozzz <florian.bigard@gmail.com>
Sat, 24 Jun 2017 08:37:43 +0000 (10:37 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Sat, 24 Jun 2017 08:37:43 +0000 (10:37 +0200)
scripts/test.sh

index 701dea8d04baee8bd8cc84d3f82cf486c4311b77..fc607133b61c2b5184ae1c25cd6cd9dc0a15d84d 100755 (executable)
@@ -5,4 +5,4 @@ npm test || exit -1
 
 cd .. || exit -1
 npm run tslint -- --type-check --project ./tsconfig.json -c ./tslint.json server.ts server/**/*.ts || exit -1
-mocha server/tests
+mocha --bail server/tests