Fixed mapStateToProps test to handle non-static mapStateToProps

This commit is contained in:
Owen Conti
2017-08-20 18:57:59 -06:00
parent cfb4625eb0
commit 0a45649834

View File

@@ -470,7 +470,7 @@ describe("bound system", function(){
it("allows container components to provide their own `mapStateToProps` function", function() {
// Given
class ContainerComponent extends PureComponent {
static mapStateToProps(nextState, props) {
mapStateToProps(nextState, props) {
return {
"abc": "This came from mapStateToProps"
}