test_runner: add code coverage support to spec reporter #46665
Labels
feature request
Issues that request new features to be added to Node.js.
test_runner
Issues and PRs related to the test runner subsystem.
What is the problem this feature will solve?
Currently the test runner supports code coverage with the default
tap
reporter behind the experimental flag.When specifying the spec reporter (
node --test-reporter=spec --experimental-test-coverage
), there is no output.What is the feature you are proposing to solve the problem?
Add code coverage support by handling the
test:coverage
event inside the spec reporter.What alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered: