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
Can't use with --experimental-test-coverage --test #437
Comments
Is this a duplicate of #433? |
Sorry for not spotting this issue earlier, I might have added a comment on it. |
This comment has been minimized.
This comment has been minimized.
@privatenumber I tried the solution you suggested in #433 locally and ran Edit: also I've been running the code with Node v21.x where the condition is supposed to be true ( |
Acknowledgements
Minimal reproduction URL
https://codesandbox.io/p/devbox/tsx-import-coverage-dkkgs3
I had to use codesandbox to have recent node version, you need local reproduction:
package.json
index.test.ts
Version
4.6.2
Node.js version
v20+
Package manager
npm
Operating system
Linux
Problem & Expected behavior
I'm trying to get tsx to work with the native test runner, coverage included
It seems to be failing with the following warning:
Also, c8 is not able to generate any report:
Contributions
The text was updated successfully, but these errors were encountered: