kenotron / esm-jest

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

Why are all examples using require ? #2

Open onigoetz opened 6 years ago

onigoetz commented 6 years ago

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 this case :D

Also, can I integrate your solution in my tool https://github.com/swissquote/crafty ? (With credits to you in the file)

kenotron commented 6 years ago

No not yet... Esm will support jest soon... On Fri, Apr 6, 2018 at 8:38 AM Stéphane Goetz notifications@github.com wrote:

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 this case :D

Also, can I integrate your solution in my tool https://github.com/swissquote/crafty ? (With credits to you in the file)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kenotron/esm-jest/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AACHpUfhwks-2oPtOVjbUV8BlhUY3Mysks5tl4vmgaJpZM4TKR6m .

nponeccop commented 3 years ago

The current code does use import, both in tested code and in tests. Can the issue be closed?