Skip to content

How should I correctly import the library for javascript project? #27

Answered by RichiCoder1
oxcafedead asked this question in Q&A
Discussion options

You must be logged in to vote

@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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@oxcafedead
Comment options

Answer selected by oxcafedead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants