bcoe / bcoe/c8

c8 reporting 100% coverage on function which throws

Open
#354 5 comments 0 reactions 0 assignees View on GitHub
bug p2
Dominant language
JavaScript
Stars
2.1k
Forks
99
PR merge metrics
No merged PRs in 30d

Description

* **Version**: v16.13.2
* **Platform**: Darwin Aarons-MacBook-Pro.local 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:23 PDT 2021; root:xnu-8019.41.5~1/RELEASE_X86_64 x86_6

I have a project that I am refactoring, and c8 is reporting incorrect coverage for the files.

This is the coverage I have when I am trying to view test coverage:
Screenshot 2022-01-28 at 17 28 32

The test that is being run:
Screenshot 2022-01-28 at 17 29 21

If needed, this is the project: [monorepo-coverage](https://github.com/team-tenacious/monorepo-coverage)

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.