solidjs / vite-plugin-solid

A simple integration to run solid-js with vite
440 stars 51 forks source link

vite-plugin-solid v2.8.3+ causes: `TypeError: Cannot read properties of undefined (reading 'extend')` #141

Open qeleb opened 9 months ago

qeleb commented 9 months ago

Since updating to vite-plugin-solid v2.8.3 (& still on v2.9.0), all my unit tests have been failing in Vitest with this error:

[error] TypeError: Cannot read properties of undefined (reading 'extend')
[error]  ❯ Object.<anonymous> node_modules/@testing-library/jest-dom/dist/vitest.js:18:15

For now, I'm going to stay on v2.8.2 where the issue doesn't happen

link2xt commented 3 months ago

Maybe this should be reported to @testing-library/jest-dom as well.