Test Redux Connect Components with Enzyme

InstructorTyler Clark

Share this video with your friends

Send Tweet

Sometimes our components are subscribed to a Redux store. This can make it difficult to test because it requires a mocked Redux store in order to render in our test files. In this lesson we talk about how we can test the core functionality of our component without the headache of mocking out Redux concepts.

Artem Filippov
~ 6 years ago

Thanks for this course and this video. But still, how to test with redux component connected? What if I want a test be full? I want be sure that my props passed successful.

Michał Murawski
~ 6 years ago

Thanks for this course and this video. But still, how to test with redux component connected? What if I want a test be full? I want be sure that my props passed successful.

Like I read somewhere on the webs: then you are going into testing Redux itself, not your logic. No point in that