npm

Don't miss out on this year's npm Pride t-shirt designs!Order your favorites here »

karma-coverage-allsources

0.0.4 • Public • Published

istanbul include-include-allsources

for use with the karma-coverage reporter

Example karma.conf.js

Important: coverage-allsources must come before coverage. This is a temporary package, pending fix for https://github.com/karma-runner/karma-coverage/issues/125

reporters: ['progress', 'coverage-allsources', 'coverage'],
coverageReporter: {
  dir: 'docs/coverage',
  include: 'src/**/!(*.spec).js',
  exclude: 'src/main.js',
  reporters: [
    { type: 'html', subdir: 'report-html' },
    { type: 'clover', subdir: '.', file: 'clover.xml' }
  ]
}

Keywords

none

install

npm i karma-coverage-allsources

Downloadsweekly downloads

1,064

version

0.0.4

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability