Skip to content

Commit cb50ae5

Browse files
committed
Update Gulpfile.js
1 parent bca473e commit cb50ae5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

example/Gulpfile.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ gulp.task('webdriver_standalone', webdriver_standalone);
1919

2020

2121
// Setting up the test task
22-
gulp.task('protractor', ['webdriver_update'], function() {
22+
gulp.task('protractor', ['webdriver_update'], function(cb) {
2323
gulp.src(['example_spec.js']).pipe(protractor({
2424
configFile: 'protractor.conf.js',
25-
})).on('error', function(e) { throw e });
25+
})).on('error', function(e) {
26+
console.log(e)
27+
}).on('end', cb);
2628
});

0 commit comments

Comments
 (0)