fix tests
This commit is contained in:
parent
da546fbb86
commit
cfd0cf7bb6
@ -16,7 +16,7 @@ describe('<FileInput />', () => {
|
||||
|
||||
const wrapper = shallow(<FileInput onInput={onInput} />).instance();
|
||||
|
||||
const shouldUpdate = wrapper.shouldComponentUpdate(wrapper.props);
|
||||
const shouldUpdate = wrapper.shouldComponentUpdate(wrapper.props, wrapper.state);
|
||||
|
||||
expect(shouldUpdate).toBe(false);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user