Skip to content

Instantly share code, notes, and snippets.

View groie's full-sized avatar

Ilkka Harmanen groie

View GitHub Profile
@jbarrus
jbarrus / gulpfile.js
Last active August 7, 2017 10:12
protractor coverage support with gulp and istanbul (not tested, this is just extracted from larger files to demonstrate how to get protractor coverage working)
var istanbul = require('istanbul'),
gulp = require('gulp'),
istanbul = require('gulp-istanbul');
gulp.task('js', function() {
return gulp.src('js')
.pipe(istanbul({
includeUntested: true,
coverageVariable: '__coverage__'
}))