Replies: 1 comment 2 replies
-
|
It is likely your build/bundle/preprocess/test process configuration is expecting only CJS modules. I cannot advise with these kinds of issues, please follow up in jest's issue tracker. ESM modules are fairly standard and Jest surely supports it, if not, time to get off this horrible test runner (which is not made for Node.js server side testing and frequently messes up exposed process globals). |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Using NodeJS v22.14.0, server side application
Jose works fine, but Jest complains
Unfortunately we have a lot of tests written in Jest
Can you suggest a way forward?
Beta Was this translation helpful? Give feedback.
All reactions