-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
Hi! The problem is that your tooling is quite out of date. I think you’re using Jest? Jest has several problems with modern ESM. I recommend using |
Beta Was this translation helpful? Give feedback.
-
It also fails if you try to use this library from ClojureScript with shadow-cljs. |
Beta Was this translation helpful? Give feedback.
-
I am quite confused how Jest is the root cause of the issue... |
Beta Was this translation helpful? Give feedback.
Hi! The problem is that your tooling is quite out of date. I think you’re using Jest? Jest has several problems with modern ESM. I recommend using
vitest
if you want something similar to Jest, ornode:test
if you want a more minimal less magic setup, that’s what I use everywhere