Jest doesn't quite play well with ESM yet, and the experience with having to mock isn't ideal. In testing, moving to Cypress has show to be much more flexible for unit testing. Might be able to implement e2e as well, but might be blocked by jsdom, will need more testing.
Description
Jest doesn't quite play well with ESM yet, and the experience with having to mock isn't ideal. In testing, moving to Cypress has show to be much more flexible for unit testing. Might be able to implement e2e as well, but might be blocked by jsdom, will need more testing.