-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vitest Error: Missing "./extend-expect" specifier in "@testing-library/jest-dom" package #539
Comments
Similar issue as here: #439 (comment) |
It's just saying |
@grainrigi Thanks! I had that import statement in my testing library untils. That fixed my problem. |
i still have this issue |
The solution for me was to add a reference for the "vitest" in the "jest-dom" path: Like in the first suggestion! ;) |
I am trying to migrate from Jest to Vitest. I'm running into issues with the latest versions of required packages.
Package Versions:
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"vitest": "^0.34.6",
What I tried in the setup file
and also tried
What I tried in the setup file
vite.config file
Error stack:
The text was updated successfully, but these errors were encountered: