Closed hompiler closed 1 year ago
This library is Pure ESM.
I suspect your jest setup doesn't support ESM by default. You would need to configure jest to fix this error.
Check these links for more info: https://github.com/facebook/jest/issues/13739 https://jestjs.io/docs/ecmascript-modules
If I understand correctly ESM support is experimental and I should not use it in a production application
Support for ESM has been out for quite some time now. I think it's stable enough to safely turn it on your production application without any major problems in the future
Feel free to reopen this ticket, if you have any more questions
Describe the bug when I try to run the test cases with this package installed the test cases fails
To Reproduce just install and use the package
Error Message ` Test suite failed to run
`