bcoe / bcoe/c8

Cannot get coverage report if c8 is running in a sub-directory & src is one level up.

Open
#527 9 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.1k
Forks
99
PR merge metrics
No merged PRs in 30d

Description

* **9.1.0**:
* **MacOS**:

Hello! When I have c8 running from a sub-directory, I can't seem to get it to report coverage for src code that is one level up from where c8 is running.

- I have created this repo that reproduces the issue. https://github.com/timganter/c8-sub-directory
- Am I just configuring c8 incorrectly 🤞 ? [Here's my config](https://github.com/timganter/c8-sub-directory/blob/main/sub-directory/.c8rc.json).
- Or is this a bug?
- Here is a video showing the issue that can be reproduced [using this repo](https://github.com/timganter/c8-sub-directory).

https://github.com/bcoe/c8/assets/1911000/e871d7cd-9e92-492e-b178-a81ffe2d4b18

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.