Support jest esm mode
viceice opened this issue · 1 comments
viceice commented
Description
I'm using jest in esm mode, because my code simply requires it. But i can't use this library as it expects jest globals.
Suggested Solution
Import expect
from @jest/globals
.
https://jestjs.io/docs/ecmascript-modules#differences-between-esm-and-commonjs
Help Needed
xenoterracide commented
I'm not using ESM, but I have the same problem because I don't want magic imports.