Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Add karma coverage json output
Browse files Browse the repository at this point in the history
to be used in IDE plugins like this one:
https://github.com/ruanyl/coverage.vim
  • Loading branch information
slaweet committed Aug 25, 2017
1 parent 1128fa1 commit 0e191fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions karma.conf.js
Expand Up @@ -22,6 +22,10 @@ module.exports = function (config) {
reporters: ['coverage', 'mocha'],
coverageReporter: {
reporters: [
{
type: 'json',
dir: 'coverage/',
},
{
type: onJenkins ? 'lcov' : 'html',
dir: 'coverage/',
Expand Down

0 comments on commit 0e191fb

Please sign in to comment.