connor4312 / connor4312/nodejs-testing

The `--test-coverage-exclude` flag is ignored when added to the extension parameters

Open
#76 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
67
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Hi,

Thanks for your work on this extension.
I've tried to pass the [--test-coverage-exclude](https://nodejs.org/docs/v22.20.0/api/cli.html#--test-coverage-exclude) cli flag to the `nodejs-testing.extensions`'s `parameter` config option, but it doesn't seem to have the intended effect.

I think i can fix this by passing the cli arguments here:
https://github.com/connor4312/nodejs-testing/blob/ee39d460a353f2bbaa01f513f94f207738c37b3c/src/coverage.ts#L36

I can try putting together a PR to make the coverage reporter aware of the flag, but I'm not sure what the contribution process is.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.