"@solidjs/testing-library": "^0.8.8",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/user-event": "^14.5.2",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"solid-devtools": "^0.30.1",
"typescript": "^5.4.5",
"vite": "^5.2.12",
"vite-plugin-solid": "^2.10.2",
"vitest": "^1.6.0"
I am trying to test a component using Vitest, but following the documentation fails with this error
https://docs.solidjs.com/guides/testing#adding-testing-packages
My test file is a
tsxfile. It seems Vitest has trouble loading the.jsxfile. My config is the same as the doc.