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
Using jest-dom in vite setup with nx can't resolve typescript types. #540
Comments
I've just run into the same issue of not having the vitest What I found after investigation was that I needed to add My investigations:
By adding the devDependency for |
@testing-library/jest-dom
version: 6.1.4node
version: 20.3.1vitest
version:~0.32.0npm
version: 9.6.7Relevant code or config:
vitest-setup.ts
tsConfig include
Problem description:
I am using vite with nx setup. I am trying to use jest-dom. Tests is running fine. But I am not able to resolve typescript type.
I have followed the doc properly.
The text was updated successfully, but these errors were encountered: