File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 3333 "extract-text-webpack-plugin" : " ^1.0.1" ,
3434 "file-loader" : " ^0.9.0" ,
3535 "html-webpack-plugin" : " ^2.7.1" ,
36- "isparta- loader" : " ^2 .0.0" ,
36+ "istanbul-instrumenter- loader" : " ^1 .0.0" ,
3737 "jasmine-core" : " ^2.3.4" ,
3838 "karma" : " ^1.1.0" ,
3939 "karma-coverage" : " ^1.0.0" ,
Original file line number Diff line number Diff line change @@ -119,18 +119,21 @@ module.exports = function makeWebpackConfig () {
119119 } ]
120120 } ;
121121
122- // ISPARTA LOADER
123- // Reference: https://github.com/ColCh/isparta -instrumenter-loader
124- // Instrument JS files with Isparta for subsequent code coverage reporting
125- // Skips node_modules and files that end with .test.js
122+ // ISTANBUL LOADER
123+ // https://github.com/deepsweet/istanbul -instrumenter-loader
124+ // Instrument JS files with istanbul-lib-instrument for subsequent code coverage reporting
125+ // Skips node_modules and files that end with .test
126126 if ( isTest ) {
127127 config . module . preLoaders . push ( {
128128 test : / \. j s $ / ,
129129 exclude : [
130130 / n o d e _ m o d u l e s / ,
131131 / \. s p e c \. j s $ /
132132 ] ,
133- loader : 'isparta-loader'
133+ loader : 'istanbul-instrumenter' ,
134+ query : {
135+ esModules : true
136+ }
134137 } )
135138 }
136139
You can’t perform that action at this time.
0 commit comments