-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
v10.0.2 pulling incorrect dom types #639
Comments
Removing the lockfile entries for the |
Newly installed node_modules and fresh All you have to do:
Hope this is useful to someone, as I've spent quit a bit of time now debugging what was going on. |
Thank you! I discovered that myself as well. Tried everything till I came up with that. |
@testing-library/react
version: 10.0.2react
version: 16.9.0node
version: 10.15.3npm
(oryarn
) version: yarn 1.6.0What you did:
I updated
@testing-library/react
to latest in my project (using typescript)Problem description:
The version of the code is fine, but
@types/testing-library__dom
are still on version 6.0.1 and not the latest 7 (missing screen, waitFor...etc.)Problem solution:
This
*
in dependencies, seems to be pulling version 6https://unpkg.com/browse/@types/testing-library__react@10.0.1/package.json
Or at least this is what my
yarn.lock
says.The text was updated successfully, but these errors were encountered: