You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our unit tests have to be run with npm run test:jest to avoid those errors. This is following the instructions of https://jestjs.io/docs/ecmascript-modules for ESM support.
We have a lot of tests and use a lot of Jest features like various assertions, snapshot testing, and test coverage enforcement. So it's probably not worth the effort to try to migrate to something else.
Hopefully Jest will streamline ESM support so things work better by default, if they haven't already.
Jest integration with anything is pretty bad
We should move to vitest or something that works with javascript by default.
This is using https://marketplace.visualstudio.com/items?itemName=Orta.vscode-jest
The text was updated successfully, but these errors were encountered: