Replies: 1 comment 2 replies
-
You understand this 100% right. It's quite possible whatever "test" tooling you have is just not ready for this setup. I made the concious decision to only do ESM knowing that support for require(esm) needs to trickle down to tooling.
If you would attempt to do a minimal reproduction repo for this issue I'm sure you'd identify the right place to open an issue |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to bump versions from version 5.6.1 to 6.0.0 in a CJS module I support. I can see in the release notes for 6.0.0 says
Using node v 20.17.0, I tried to run my unit tests by
NODE_OPTIONS='--experimental-require-module' npm test
but I'm still getting an errorJust wondering if I'm misunderstanding the release note or how I can get this to work.
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions