esm-jest icon indicating copy to clipboard operation
esm-jest copied to clipboard

Sample repository that would demonstrate how to use jest with ESM module

Results 5 esm-jest issues
Sort by recently updated
recently updated
newest added

``` 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: ![image](https://user-images.githubusercontent.com/33569/46567691-cf902400-c8eb-11e8-80b9-e37ab5666ec0.png)