File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 11var gulp = require ( 'gulp' ) ;
22var mocha = require ( 'gulp-mocha' ) ;
3- var istanbul = require ( 'gulp-istanbul' ) //my change
3+ var istanbul = require ( 'gulp-istanbul' )
44var fs = require ( 'fs' ) ;
55
66gulp . task ( 'default' , function ( ) {
7- // gulp.src('tests/**/*.js')
8- // Covering files
9- // .pipe(istanbul())
10- // Force `require` to return covered files
11- //.pipe(istanbul.hookRequire());
12-
137 gulp . src ( 'tests/**/*.js' )
148 . pipe ( mocha ( {
159 reporter : 'mocha-junit-reporter' ,
@@ -19,8 +13,8 @@ gulp.task('default', function () {
1913 } ) )
2014 . pipe ( istanbul ( ) )
2115 . pipe ( istanbul . hookRequire ( ) )
22- . pipe ( istanbul . writeReports ( { // my change
16+ . pipe ( istanbul . writeReports ( {
2317 dir : './coverage' ,
24- reporters : [ 'cobertura' , 'html' , 'json' ]
18+ reporters : [ 'cobertura' , 'html' ]
2519 } ) ) ;
2620} ) ;
You can’t perform that action at this time.
0 commit comments