const [submited, setSubmited] = useState(false)
const handleSubmitForm = () => {
setSubmited(true)
}
...
<form onSubmit={handleSubmitForm}>
<input disabled={!submited} />
<input disabled={!submited} />
</form>
it('should render todos with OnBlockClick func', () => {
const wrapper = mount(<TodoList {...props} />);
const todo = wrapper.find(Todo).at(0);
todo.simulate('click');
expect(props.TODO_UPD).toBeCalled();
});