We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 329bfa5 commit 190adc9Copy full SHA for 190adc9
__tests__/testUtils/MockProvider.js
@@ -8,8 +8,9 @@ export default class MockProvider extends Component {
8
controllerMock: PropTypes.object.isRequired,
9
};
10
11
- componentWillMount() {
12
- this.controller = this.props.controllerMock;
+ constructor(props) {
+ super(props);
13
+ this.controller = props.controllerMock;
14
}
15
16
componentWillUnmount() {
0 commit comments