find component by id and input react test code example
Example: jest input value
let wrapped = mount(<Component />);
expect(wrapped.find("input").get(0).props.value).toEqual("something");
let wrapped = mount(<Component />);
expect(wrapped.find("input").get(0).props.value).toEqual("something");