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 using shallowwithintl to wrap my component.
Then I am calling the function changeState(mockedEvent, mockedEvent2) which is used to set the state.
Then I am console logging the updated state.
I am using shallowwithintl to wrap my component.
Then I am calling the function changeState(mockedEvent, mockedEvent2) which is used to set the state.
Then I am console logging the updated state.
Ideally
component.dive().state()
should return the state but it is returning null values. The output looks like this:Please let me know if I am missing something here.
The text was updated successfully, but these errors were encountered: