@testing-library/react TypeError: defineProperties is not a function
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",
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 undefined
@Nikodem98, can you please provide a reproduction of this one? At the moment this issue doesn't have a lot of us to investigate. You can use https://testing-library.com/new-rtl to create the reproduction.
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.