chore(): generate coverage to umd js only

This commit is contained in:
Manu Mtz.-Almeida
2016-11-03 20:24:35 +01:00
parent d988367e3a
commit a1e17c6f78

View File

@ -43,7 +43,7 @@ export function config(config) {
// Source files that you wanna generate coverage for. // Source files that you wanna generate coverage for.
// Do not include tests or libraries (these files will be instrumented by Istanbul) // Do not include tests or libraries (these files will be instrumented by Istanbul)
preprocessors: { preprocessors: {
'dist/ionic-angular/**/!(*spec).js': ['coverage'], 'dist/ionic-angular/umd/**/!(*spec).js': ['coverage'],
'dist/ionic-angular/**/*.js': ['sourcemap'] 'dist/ionic-angular/**/*.js': ['sourcemap']
}, },
reporters: ['dots', 'coverage'], reporters: ['dots', 'coverage'],