Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Switch to c8 for code coverage.#847

Merged
markstos merged 1 commit intonode-config:masterfrom
jdmarshall:coverage
Jul 20, 2025
Merged

Switch to c8 for code coverage.#847
markstos merged 1 commit intonode-config:masterfrom
jdmarshall:coverage

Conversation

@jdmarshall
Copy link
Collaborator

c8 is compatible with nyc but uses nodejs' internal tooling for code coverage.

One of the consequences of switching to this is that we no longer need to filter out the .ts tests from coverage, as it seems not to interact with require.extensions.

Copy link
Collaborator

@markstos markstos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try it.

@markstos markstos merged commit 40e581c into node-config:master Jul 20, 2025
1 check passed
@jdmarshall
Copy link
Collaborator Author

jdmarshall commented Jul 20, 2025

Found it after a breakage on another project. It uses v8”s profiling code.

@jdmarshall jdmarshall deleted the coverage branch January 18, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants