From: Chocobozzz Date: Sat, 24 Jun 2017 08:37:43 +0000 (+0200) Subject: Stop mocha tests after a failure X-Git-Tag: v0.0.1-alpha~398 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=743cb5e5c44c4ba97a877e9a172adabd666c9852;p=github%2FChocobozzz%2FPeerTube.git Stop mocha tests after a failure --- diff --git a/scripts/test.sh b/scripts/test.sh index 701dea8d0..fc607133b 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -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