Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report coverage from Node's native --experimental-test-coverage as annotations #123

Open
felixfbecker opened this issue Jul 3, 2024 · 1 comment

Comments

@felixfbecker
Copy link

Node supports the flag --experimental-test-coverage, which emits coverage to test reporters as the test:coverage event: https://nodejs.org/api/test.html#collecting-code-coverage

It would be awesome if non-covered lines in the PR could be annotated by the reporter with a warning as not being covered.

@MoLow
Copy link
Owner

MoLow commented Jul 14, 2024

Sorry for the delay in the response.
this sounds like a great idea, but I am not sure it should be on by default. we might want to make it configurable, by adding some config file. WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants