question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[testing-karma] switch to karma-coverage

See original GitHub issue

We 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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
coreyfarrellcommented, Apr 13, 2020

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.

0reactions
web-padawancommented, Apr 14, 2020
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found