Open tridhe opened 3 years ago
Similar issues are reported below but no fix given: https://github.com/joetidee/enzyme-react-intl/issues/21 https://github.com/joetidee/enzyme-react-intl/issues/2 https://github.com/joetidee/enzyme-react-intl/issues/14
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.