projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c23885
)
Stop mocha tests after a failure
author
Chocobozzz
<florian.bigard@gmail.com>
Sat, 24 Jun 2017 08:37:43 +0000
(10:37 +0200)
committer
Chocobozzz
<florian.bigard@gmail.com>
Sat, 24 Jun 2017 08:37:43 +0000
(10:37 +0200)
scripts/test.sh
patch
|
blob
|
history
diff --git
a/scripts/test.sh
b/scripts/test.sh
index 701dea8d04baee8bd8cc84d3f82cf486c4311b77..fc607133b61c2b5184ae1c25cd6cd9dc0a15d84d 100755
(executable)
--- 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