karma-runner / karma-runner/karma

Karma Documentation relates to an old version of Istanbul

Open
#3,204 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
12k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### Expected behaviour
Karma's documentation should describe how to collect code coverage using the new version of IstanbulJS using the new "karma-coverage-istanbul-reporter" package (https://www.npmjs.com/package/karma-coverage-istanbul-reporter).

### Actual behaviour
Karma's documentation should describes how to collect code coverage using the old version of Istanbul (https://github.com/gotwarlost/istanbul) which is deprecated two years ago and doesn't support new ECMAScript versions. Currently this is being done by using the "karma-coverage" package (https://www.npmjs.com/package/karma-coverage).

### Steps to reproduce the behaviour
Checkout this link: https://karma-runner.github.io/3.0/config/preprocessors.html

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Karma's 3.0 preprocessors documentation at https://karma-runner.github.io/3.0/config/preprocessors.html and compare its coverage instructions with the karma-coverage-istanbul-reporter package. Update the documentation to describe the new IstanbulJS reporter rather than the deprecated karma-coverage flow, then verify the page reflects the current package and usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.