How should I correctly import the library for javascript project? #27
-
Hi @RichiCoder1 I have a question. I am not very fluent in JS/TS, you will notice it as I explain my problem 😄.
My project is a JS project with Do you have any ideas or suggestions here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@oxcafedead that's odd. I think they might be the default loading behavior of if you're using Node16 or higher without a bundler. I'm afraid I don't have any good advice except to add a bundler like Babel or Vite to your unit tests as a fix. I can see about fixing this in the future though. |
Beta Was this translation helpful? Give feedback.
@oxcafedead that's odd. I think they might be the default loading behavior of if you're using Node16 or higher without a bundler. I'm afraid I don't have any good advice except to add a bundler like Babel or Vite to your unit tests as a fix. I can see about fixing this in the future though.