had a hard time decoupling tests from child reducer implementation details.
In his example, he says action: { type: INCREMENT } but this doesn't actually change anything so how does he know the reducers received the action?.
Anyways my other idea was to simply export the object we are passing to combineReducers and make sure it includes the reducers we are expecting, and leave it at that. This (integration) test may be overboard.
https://github.com/reduxjs/redux/issues/1412
had a hard time decoupling tests from child reducer implementation details.
In his example, he says action: { type: INCREMENT } but this doesn't actually change anything so how does he know the reducers received the action?.
Anyways my other idea was to simply export the object we are passing to combineReducers and make sure it includes the reducers we are expecting, and leave it at that. This (integration) test may be overboard.