Testing Redux combined reducers
问题 Say I have several reducer functions and I combine them all into one reducer using combineReducers(...) , is there a way of testing what reducers the combined reducer actually contains? For example, if I have this: import { combineReducers } from 'redux' const reducer1 = (state, action) => {...} ... (more reducers, etc) const rootReducer = combineReducers({ reducer1, reducer2, reducer3 }) export default rootReducer Can I write a test with Mocha and Expect.js that will enable me to check if