7 ms·
The ESM and other open issues they refer to are serious. Jest often doesn't work at all if you use packages with multiple entry points (like firebase), which is
by jsmith99 5y ago
The ESM and other open issues they refer to are serious. Jest often doesn't work at all if you use packages with multiple entry points (like firebase), which is often seen as best practice - it's gotten to the point that people release third party loader packages to make jest work, like https://github.com/k-g-a/jest-node-exports-resolver https://github.com/k-g-a/jest-node-exports-resolver
- vjeux 5y agoIn practice the ESM support in Jest is blocked by a v8 dependency and not jest itself at this point. If you are able to nudge this issue that would be fantastic! https://github.com/nodejs/node/issues/37648 https://github.com/nodejs/node/issues/37648