karma-runner / karma

Spectacular Test Runner for JavaScript
http://karma-runner.github.io
MIT License
11.96k stars 1.71k forks source link

Karma Documentation relates to an old version of Istanbul #3204

Open nadavye opened 5 years ago

nadavye commented 5 years ago

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

johnjbarton commented 5 years ago

You should be able to send a PR from the github UI, see also http://karma-runner.github.io/3.0/dev/git-commit-msg.html