chore: fail travis on failed ‘test.unit.cjs/ci’
This commit is contained in:
parent
1ac7bb3bb8
commit
4f2b9a4c28
|
@ -12,6 +12,9 @@ glob(process.argv[2], function (error, specFiles) {
|
||||||
includeStackTrace: true,
|
includeStackTrace: true,
|
||||||
defaultTimeoutInterval: 1000,
|
defaultTimeoutInterval: 1000,
|
||||||
showColors: process.argv.indexOf('--no-color') === -1,
|
showColors: process.argv.indexOf('--no-color') === -1,
|
||||||
specs: specFiles
|
specs: specFiles,
|
||||||
|
onComplete: function(passed) {
|
||||||
|
process.exit(passed ? 0 : 1);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue