when I submit a form in a Component, I call dispatch action using Redux.
how to mock and verify that this action has been called/mocked while testing the component
many thanks.
when I submit a form in a Component, I call dispatch action using Redux.
how to mock and verify that this action has been called/mocked while testing the component
many thanks.