Skip to content

Commit

Permalink
* enable coverage reporter in travis karma config file
Browse files Browse the repository at this point in the history
  • Loading branch information
JayGray committed Jul 30, 2014
1 parent 89761e6 commit 225af58
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions test/travis.karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,20 @@ module.exports = function(config) {

// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {},
preprocessors: {
'app/js/components/**/*.js': 'coverage'
},


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

coverageReporter : {
'type': 'lcov',
'dir': 'test/coverage'
},

// web server port
port: 9876,
Expand Down

0 comments on commit 225af58

Please sign in to comment.