You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a new Jest test (after successfully creating a few simple ones) but for some reason I get this error.
code:
and inside Home.js I have another render which is called Rules.js and returns this
What I want is to get the input and change it to another word ("For") and then userText should be the same as that input. However, for some reason it cannot find the input, when I successfully tested it in another test and also the userText is null, when in the program there is a onChange method in the input which makes the userText equal to that input.