diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-24 10:37:43 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-24 10:37:43 +0200 |
commit | 743cb5e5c44c4ba97a877e9a172adabd666c9852 (patch) | |
tree | 1dee44dea2810e165ebc339007aefd7d6ad4465f /scripts | |
parent | 0c2388548a7432d1a22fbdeb142114383cb5c7e5 (diff) | |
download | PeerTube-743cb5e5c44c4ba97a877e9a172adabd666c9852.tar.gz PeerTube-743cb5e5c44c4ba97a877e9a172adabd666c9852.tar.zst PeerTube-743cb5e5c44c4ba97a877e9a172adabd666c9852.zip |
Stop mocha tests after a failure
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
5 | 5 | ||
6 | cd .. || exit -1 | 6 | cd .. || exit -1 |
7 | npm run tslint -- --type-check --project ./tsconfig.json -c ./tslint.json server.ts server/**/*.ts || exit -1 | 7 | npm run tslint -- --type-check --project ./tsconfig.json -c ./tslint.json server.ts server/**/*.ts || exit -1 |
8 | mocha server/tests | 8 | mocha --bail server/tests |