Closed eroncastro closed 6 months ago
Yes, if you want use https://github.com/testing-library/svelte-testing-library/releases/tag/v4.0.0 you need to switch your codebase and testing framework to ESM. Jest has some problems with it. If you have the chance, migrate to Vitest.
Otherwise you can use v3 of this library.
@yanick another one we're good to close out - the Jest setup instructions in the docs have been updated to reflect the required ESM config
Excellent! Closing.
Hi.
I have followed the setup tutorial with TypeScript to setup Svelte 4 with Jest.
However, I am getting the following error:
jest.config.js
:package.json
Could it be related to the move to ESM?