Skip to content

Commit 16304f6

Browse files
committed
fix(gulp-protractor): throw on error
1 parent e9d158d commit 16304f6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Diff for: templates/app/gulpfile.babel(gulp).js

+3-5
Original file line numberDiff line numberDiff line change
@@ -498,11 +498,9 @@ gulp.task('test:e2e', ['webpack:e2e', 'constant', 'env:all', 'env:test', 'start:
498498
gulp.src(paths.client.e2e)
499499
.pipe(protractor({
500500
configFile: 'protractor.conf.js',
501-
})).on('error', err => {
502-
console.log(err)
503-
}).on('end', () => {
504-
process.exit();
505-
});
501+
}))
502+
.on('error', e => { throw e })
503+
.on('end', () => { process.exit() });
506504
});
507505

508506
gulp.task('test:client', ['constant'], done => {

0 commit comments

Comments
 (0)