-
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
@testing-library/react TypeError: defineProperties is not a function #1261
Comments
Can you try to upgrade your react version to v18+? |
we use "react": "^18.2.0", |
Oops, sorry 😃 I guess issue is totally different! btw I am also having not the same issue but my renderHook is not working and giving |
@Nikodem98, can you please provide a reproduction of this one? At the moment this issue doesn't have a lot of us to investigate. |
I'm resolving this as no reproduction was added. If someone's experiencing this and can provide a reproduction, please comment here and I'll re-open. |
Hi, I get this error whenever I import @testing-library/react
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.0.0",
The text was updated successfully, but these errors were encountered: