karma-coverage
karma-coverage copied to clipboard
A Karma plugin. Generate code coverage.
_
Using the NodeJS API, let's say our `config` is like this: ``` let KarmaConfig = { plugins: [ 'karma-chai', 'karma-mocha', 'karma-sourcemap-loader', 'karma-webpack', 'karma-mocha-reporter', 'karma-chrome-launcher' ], singleRun: true, autoWatch: false, frameworks:...
I need a way to report average of all test coverage. Is there a way to get callback of all coverage to calculate average ?
My Angular lib itself is targeting ES2017. I tried swapping out test tsconfig to anything newer beyond ES5 - and 90% of my test coverage fails when running karma with...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.4.7 to 19.0.3. Release notes Sourced from semantic-release's releases. v19.0.3 19.0.3 (2022-06-09) Bug Fixes log-repo: use the original form of the repo url to remove the need...
Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.3 to 3.1.4. Release notes Sourced from semver-regex's releases. v3.1.4 Backport of ReDoS fix https://github.com/sindresorhus/semver-regex/commit/7712ba564d40da101cf2b2b33e6a910d9f2f57f4 Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will...
Bumps [grunt](https://github.com/gruntjs/grunt) from 1.4.1 to 1.5.3. Release notes Sourced from grunt's releases. v1.5.3 Merge pull request #1745 from gruntjs/fix-copy-op 572d79b Patch up race condition in symlink copying. 58016ff Merge pull...
Hi, during exploration of some third party library (swimlane/ngx-charts) i faced with an issue where command "ng test --code-coverage" fails while at the same time command "ng test" works ok....
I have this config: It works but coverage is on test files only. So 100% :-)). I need coverage only on .ts files, but I dont know how set preprocessor...