I have two gulp tasks, one that sets up istanbul with gulp-istanbul:
gulp.src(['lib/**/*.js'])
.pipe(istanbul(istanbulOptions))
.pipe(istanbul.hookRequire());
and the other that runs the tests
return gulp.src(['test/**/' + serviceName + '.js'])
.pipe(jasmine(jasmineOptions))
.pipe(istanbul.writeReports());
the second "depends" on the first
When I run this combination and tests fail, the exit code is 0
I have two gulp tasks, one that sets up istanbul with gulp-istanbul:
and the other that runs the tests
the second "depends" on the first
When I run this combination and tests fail, the exit code is 0