React testing component prop change with enzyme
You have to call a method .update()
on a wrapper. (Just after you set new props) This will force update the component and the value of the input should change.
You can read more about it here: http://airbnb.io/enzyme/docs/api/ShallowWrapper/update.html