Skip to content

Commit

Permalink
update karma.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ankit authored and ankit committed Feb 24, 2017
1 parent dcee86f commit 3bbf10f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Slack.Automation/Promact.Erp.Web/karma.config.js
Expand Up @@ -59,18 +59,16 @@ module.exports = function (config) {
// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {
"**/app/*spec.js": "coverage"
'**/app/**/!(*spec).js': ['coverage']
},

// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ['progress', 'coverage', 'coveralls'],
reporters: ['progress', 'coverage'],

coverageReporter: {
reporters: [
{ type: 'html', subdir: 'html' },
{ type: 'lcovonly', subdir: 'lcov' },
{ type: 'cobertura', subdir: 'cobertura' }]
},

Expand Down Expand Up @@ -117,7 +115,6 @@ module.exports = function (config) {
'karma-jasmine',
'karma-chrome-launcher',
'karma-coverage',
'karma-coveralls'
],

})
Expand Down

0 comments on commit 3bbf10f

Please sign in to comment.