esm-jest
esm-jest copied to clipboard
Sample repository that would demonstrate how to use jest with ESM module
``` TypeError: Jest: a transform must export a `process` function. at ScriptTransformer._getTransformer (node_modules/jest-runtime/build/script_transformer.js:236:15) ``` I'm using the same jest version as you, running `jest --watch --runInBand --no-cache --config jest.config.js`
Now that the upstream Jest has some ESM support, there is slightly less need in the esm transform. But their current level of support in jest@next doesn't allow for mocking...
Hello, your solutions look very interesting. But why are all examples without import and the esm-jest file was removed. I’m not sure to understand what it’s supposed to demo in...
Hi, I cloned your repo and installed it using yarn. Calling yarn test caused the following errors FAIL test/__tests__/SomeComponentTest.js ● Test suite failed to run TypeError: Cannot read property 'next'...
yarn works, but if I use npm instead, I get this: 