enzyme get input field value code example
Example 1: jest input value
let wrapped = mount(<Component />);
expect(wrapped.find("input").get(0).props.value).toEqual("something");
Example 2: find value number in enzym
const wrapper = mount(<EditableText defaultValue="Hello" />);
const input = wrapper.find('input');
console.log(input.node.value);