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
Badly, currently jest doesn't support very well ESM imports, we should wait until it is correctly supported.
See: jestjs/jest#11167 and jestjs/jest#10025
Note: It is a BREAKING CHANGE (not as a CLI).
The text was updated successfully, but these errors were encountered:
Instead of using jest, we could use tap, it supports ESM very well and honestly is far better for running tests in a Node.js environment than jest.
That would be a major refactor of the current codebase but it will bring many benefits in the long term.
I will try to do this issue when I have some time. 😄
Proposal
We should use ESM imports instead of CommonJS.
See: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
Blocked by microsoft/TypeScript#33079.
Badly, currently
jest
doesn't support very well ESM imports, we should wait until it is correctly supported.See: jestjs/jest#11167 and jestjs/jest#10025
Note: It is a BREAKING CHANGE (not as a CLI).
The text was updated successfully, but these errors were encountered: