Permalink
Browse files

set -e; to exit when a test fails

  • Loading branch information...
1 parent 00396f3 commit b89532c59ca7c3be5144830c9aade69d15a3054c @dominictarr committed Sep 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 package.json
View
@@ -19,7 +19,7 @@
},
"author": "Dominic Tarr <dominic.tarr@gmail.com> (http://bit.ly/dominictarr)",
"scripts": {
- "test": "for t in test/*.js; do echo *** $t ***; node $t; done"
+ "test": "set -e; for t in test/*.js; do echo '***' $t '***'; node $t; done"
},
"optionalDependencies": {},
"engines": {

0 comments on commit b89532c

Please sign in to comment.