[testing-karma] switch to karma-coverage
See original GitHub issueWe are using karma-coverage-istanbul-reporter
, but it’s using an outdated istanbul API and doesn’t accept community feature requests / contributions unless you are a donator. karma-coverage seems to be a good replacement.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Karma coverage always coming empty - Stack Overflow
Explanation: coverage tests your code against your unit tests - you need to supply entry point for your code to get Karma analyse...
Read more >Coverage - Karma test runner
If you want to generate the coverage, you need to configure up to three parts: preprocessor coverage (required); reporter coverage (required); reporter options ......
Read more >Testing Web Components with Karma and TypeScript
Testing Web Components with Karma and TypeScript ... We recommend karma as a general-purpose tool for testing code that runs in the browser....
Read more >How to Run Unit Test in Angular | Code Coverage - YouTube
angular #unit- testing #karma #jasmine #code-coverageIn this tutorial, you'll learn how to get started with unit testing & code coverage in ...
Read more >Vue.js Unit Testing with Karma and Mocha - DigitalOcean
Learn how to unit test your Vue.js components with Karma and Mocha. ... specify the plugins you're using, and possibly change the launcher....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI I - just got a notification from karma-coverage that they have released to npm an update which uses all the latest Istanbul libraries. I do not maintain or even use any karma libs but I do maintain the Istanbul libraries. From a maintenance standpoint I’d recommend karma-coverage unless open-wc wants to fork karma-coverage-istanbul-reporter.
Here is the new release: https://github.com/karma-runner/karma-coverage/releases/tag/v2.0.2