testing-library/svelte-testing-library

Feature Request: Support for Svelte 4

t-miller opened this issue · 1 comments

Svelte 4 was just released, would love to see it supported

Error: require() of ES Module  svelte_vite\node_modules\svelte\src\runtime\ssr.js from node_modules\@testing-library\svelte\dist\pure.js not supported.
Instead change the require of ssr.js in node_modules\@testing-library\svelte\dist\pure.js to a dynamic import() which is available in all CommonJS modules.