fix tests

This commit is contained in:
Artem Tarasov 2020-07-23 18:45:00 +03:00
parent da546fbb86
commit cfd0cf7bb6

View File

@ -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);
});