Skip to content

Commit

Permalink
test(karma.conf.js): fix the karma config coverage preprocessor path
Browse files Browse the repository at this point in the history
  • Loading branch information
amoncaldas committed Oct 27, 2021
1 parent 0f5b5ba commit 4094f0e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ module.exports = function (config) {
//add webpack as preprocessor to support require() in test-suits .js files
'integration/specs/*[sS]pec.js': ['webpack'],
'unit/specs/*[sS]pec.js': ['webpack'],
'**/src/app/*.js': ['coverage']
'**/src/*.js': ['coverage']
},
webpackMiddleware: {
//turn off webpack bash output when run the tests
Expand All @@ -118,7 +118,12 @@ module.exports = function (config) {
reporters: [
{ type: 'html', subdir: 'html' },
{ type: 'text-summary' }
]
],
global: {
excludes: [
'src/**/*i18n*.js'
]
}
}
})
}

0 comments on commit 4094f0e

Please sign in to comment.