karma-runner / karma-runner/karma-coverage

Coverage file is empty for Chrome but not for Firefox

Open
#110 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
771
Forks
242
PR merge metrics
No merged PRs in 30d

Description

I'm setting up coverage with Karma and was beating my head against the wall when I saw in the DEBUG log that files get preprocessed, the coverage file gets written out but it is empty.

Then after some time I just switched from my Chrome to Firefox and if I run the tests with Firefox then the coverage file is populated.

Let me know if you need any more information or maybe this will just serve to somebody else as an idea what to try when nothing else works.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.