chore: fail travis on failed ‘test.unit.cjs/ci’

This commit is contained in:
Misko Hevery 2015-05-12 14:10:53 -07:00
parent 1ac7bb3bb8
commit 4f2b9a4c28
1 changed files with 4 additions and 1 deletions

View File

@ -12,6 +12,9 @@ glob(process.argv[2], function (error, specFiles) {
includeStackTrace: true,
defaultTimeoutInterval: 1000,
showColors: process.argv.indexOf('--no-color') === -1,
specs: specFiles
specs: specFiles,
onComplete: function(passed) {
process.exit(passed ? 0 : 1);
}
});
});