-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
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
C8 7.12 and node 18.11: Tests are not running #422
Comments
Here a test with a package in Github actions: https://github.com/hckrnews/objects/actions/runs/3255633842/jobs/5345156351
|
Here a test with and without c8: https://github.com/hckrnews/objects/actions/runs/3256091485/jobs/5346101809 |
Probably the same issue here: since Node.js 18.11.0, it does not work anymore on my Windows workstation. $ c8 --all --include=src/**/*.js --report-dir=var --reporter=lcovonly node --test
# No output! It seems that the tests are not run. But in the CI environment (GitHub Actions, Ubuntu, Node.js 18.10.0), no problem, everything works as expected: |
It looks like it is a node bug, there is a node fix already made: nodejs/node#45013 |
With Node.js 19:
|
In the new version of will include the fix. Fix was just to late for 19.0.0 |
Fix isnt in node 18.12 from yesterday, i think we have to wait another week |
C8 version: 7.12.0
Node version: 18.11.0
Platform: Darwin CLC02DRB4AMD6R 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 29 04:31:06 PDT 2022; root:xnu-7195.141.39~2/RELEASE_X86_64 x86_64
(Mac OS 11.7)
When i run
node --test src/
my tests are running.When i use C8
c8 node --test src/
, no tests are running, and no coverage.And I see an error:
.nycrc
Tested with node 18.10.0, and it was working
Has node 18.11.0 a breaking change or bug, or is it a C8 issue?
The text was updated successfully, but these errors were encountered: