kenotron / esm-jest

Sample repository that would demonstrate how to use jest with ESM module
24 stars 5 forks source link

Tests fail with error "TypeError: Cannot read property 'next' of undefined #4

Open Mortimer76 opened 5 years ago

Mortimer76 commented 5 years ago

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' of undefined

  at Object.n.(anonymous function) (node_modules/esm/esm.js:1:1796)

FAIL test/tests/test.js ● Test suite failed to run

TypeError: Cannot read property 'next' of undefined

  at Object.n.(anonymous function) (node_modules/esm/esm.js:1:1796)

Does it still work for you with the latest module versions?

pitersky commented 5 years ago

I have the same issue

noonesstudios commented 5 years ago

same

mtsmachado8 commented 5 years ago

no fixes? same error

denieler commented 4 years ago

you need to upgrade esm to >3.2.14