Cannot run tests after updating to React v17 #10058
Unanswered
VanTigranyan
asked this question in
Q&A
Replies: 1 comment
-
From the additional context in https://spectrum.chat/react/help/cannot-run-tests-after-updating-to-react-v17~dbfd3cb8-294b-4151-8fd4-aa95de5dbb30 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey Everyone. I have updated the react version and react-scripts version. Also used react-codemod to remove React imports, which are redundant if you use react v17. The thing is, after updating the application runs without any problem but the tests fail, throwing reference error React is not defined. I have tried to search info by myself and found nothing. Can someone help me with this? I am out of solutions.
Beta Was this translation helpful? Give feedback.
All reactions