We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
to extract a code coverage report in text and html format for my node project working as a module (with esm)
NOT WORKING!
=============================== Coverage summary =============================== Statements : Unknown% ( 0/0 ) Branches : Unknown% ( 0/0 ) Functions : Unknown% ( 0/0 ) Lines : Unknown% ( 0/0 ) ================================================================================
cache: false
System: OS: macOS 14.1.1 CPU: (8) arm64 Apple M2 Memory: 40.91 MB / 16.00 GB Binaries: Node: 21.6.0 - /usr/local/bin/node npm: 10.2.4 - /usr/local/bin/npm pnpm: 8.10.5 - /usr/local/bin/pnpm npmPackages: nyc: ^15.1.0 => 15.1.0
The text was updated successfully, but these errors were encountered:
Experiencing the same issue in Node: v20.11.0 when running ESM code.
Node: v20.11.0
Tested with, or without --require esm
--require
Sorry, something went wrong.
Duplicate of #1530 I think
finally c8 worked for me, instead of nyc (which is still failing):
c8 --experimental-monocart --reporter=html --reporter=text mocha logic/*.spec.js
(monocart-coverage-reports dependency must be installed)
monocart-coverage-reports
No branches or pull requests
Expected Behavior
to extract a code coverage report in text and html format for my node project working as a module (with esm)
Observed Behavior
NOT WORKING!
Troubleshooting steps
cache: false
in my nyc configEnvironment Information
The text was updated successfully, but these errors were encountered: