gulp-jscoverage

JSCoverage instrumentation plugin for Gulp

gulp-jscoverage

JSCoverage instrumentation plugin for gulp

var gulp = require('gulp'),
    jsc  = require('gulp-coverage')
 
gulp.task('jsc', function () {
    gulp.src('./src.js')
        .pipe(jsc())
        .pipe(gulp.dest('./')) // default file name: src-cov.js 
})
  • name: the output file name.

MIT