@@ -83,6 +83,7 @@ gulp.task('instrument-test', function () {
|
|||||||
gulp.task('mocha', ['instrument-test'], function () {
|
gulp.task('mocha', ['instrument-test'], function () {
|
||||||
return gulp.src([`${outDir}/*test.js`, `${outDir}/**/*test.js`], {read: false})
|
return gulp.src([`${outDir}/*test.js`, `${outDir}/**/*test.js`], {read: false})
|
||||||
.pipe(mocha())
|
.pipe(mocha())
|
||||||
|
.once('error', () => process.exit(1))
|
||||||
.pipe(istanbul.writeReports());
|
.pipe(istanbul.writeReports());
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user