From 0a45649834a1dd3e5d059086997259d226d30f9d Mon Sep 17 00:00:00 2001 From: Owen Conti Date: Sun, 20 Aug 2017 18:57:59 -0600 Subject: [PATCH] Fixed mapStateToProps test to handle non-static mapStateToProps --- test/core/system/system.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/core/system/system.js b/test/core/system/system.js index 67447276..2b4990df 100644 --- a/test/core/system/system.js +++ b/test/core/system/system.js @@ -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" }