Open manuelbarzi opened 5 months ago
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
Experiencing the same issue in Node: v20.11.0 when running ESM code.
Node: v20.11.0
Tested with, or without --require esm
--require
Duplicate of https://github.com/istanbuljs/nyc/issues/1530 I think
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