@criticalmix/karma-coverage-allsources
Fix for karma-coverage 'all sources'
Last updated 2 years ago by boneskull .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @criticalmix/karma-coverage-allsources 
SYNC missed versions from official npm registry.

karma-coverage-allsources

Lifted from karma-coverage-allsources since it has no public repo.

JetBrains Fix

This version of karma-coverage-allsources (not contained in v0.0.4) contains a fix for use with Jetbrains' Karma Plugin.

Rationale

https://github.com/karma-runner/karma-coverage/issues/125

Example karma.conf.js

Important: coverage-allsources must come before coverage.

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' }
  ]
}

License

MIT

Current Tags

  • 0.1.1                                ...           latest (2 years ago)

2 Versions

  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 7
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |