Awesome React
Browse videos
Playlists
Conferences
Speakers
About
How to test Redux
Details
Do you test actions, reducers, selectors, and components in isolation as unit tests? Or do you test the connected components with the actual store wired up as integration tests? Here are my thoughts.
AMA:
https://github.com/kentcdodds/ama/issues/447
Example:
https://codesandbox.io/s/pk22r6rkzm?module=
%2Fsrc%2F__tests__%2Freact-redux.js