Use a dynamic import in test #3054
Unanswered
RebeccaStevens
asked this question in
Q&A
Replies: 1 comment
-
Yes. But looking at that stack trace you have hooks that are getting in the way. It looks like CJS hooks though, which is odd. Any chance your test file is TypeScript and it emitting a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to import an esm module in a test?
I get the following error when I try:
Beta Was this translation helpful? Give feedback.
All reactions