Use esm package with mocha #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-test-script"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Now that the other 2 PRs are merged, do you mind squashing this down? Seems that this PR can now just be the one commit "Use esm package with mocha".
What does this fix? With recent Mocha versions ES module tests run fine without loading esm
I get following error when not using esm:
With Mocha 8? Which node version are you running?
It's working now. I had to update node to version > 12.11 (see: https://github.com/mochajs/mocha/pull/4038).
Pull request closed