diff --git a/modules/__tests__/Router-test.js b/modules/__tests__/Router-test.js index e50d6bafdb..fd2886ae88 100644 --- a/modules/__tests__/Router-test.js +++ b/modules/__tests__/Router-test.js @@ -255,7 +255,8 @@ describe('Router', function () { const Child = () => child class LabelWrapper extends Component { - constructor() { + constructor(props, context) { + super(props, context) this.createElement = this.createElement.bind(this) }