Re:Idiomatic React Testing Patterns
by tengbretson on Wednesday July 13, 2016 @02:05PM
(#12088311)
I often leave off tests for strictly "synchronous" actions like `return { ...currentState, newProp }`. Most of my tests are for confirming that the right paths are taken for actions that trigger one or more async operations to ensure correct failure case handling.
[ Parent
| on HN ]
There are no comments on this comment yet.