Real unit test (isolation, no children render)
Calls:
- constructor
- render
import {action1, action2} from "myActions"; | |
import {bindActionCreators} from "redux"; | |
import {connect} from "react-redux"; | |
const mapStateToProps = (state, ownProps) = { | |
return { | |
counter : state.counter, | |
someComponentValue : state.things[ownProps.someIdProp] | |
}; | |
} |