text input value enzyme react 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");