Skip to content

Commit

Permalink
Much higher coverage by excluding node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Walton committed Mar 18, 2017
1 parent b653012 commit 88e2fdd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion karma.conf.js
Expand Up @@ -8,7 +8,7 @@ const coverageReporters = [{

const reporters = [
'progress',
'coverage'
'coverage-istanbul'
];

if (process.env.TRAVIS) {
Expand All @@ -20,6 +20,11 @@ if (process.env.TRAVIS) {
reporters.push('coveralls');
} else {
console.log('Not on Travis so not sending coveralls');
coverageReporters.push({
type: 'html',
dir: 'coverage',
subdir: '.'
});
}

module.exports = function(config) {
Expand Down

0 comments on commit 88e2fdd

Please sign in to comment.