Self-review: Writing more test scenarios - Advanced React
What’s the correct call to fire an onChange event on an input with react-testing-library’s fireEvent API?
fireEvent.change(input, { target: { value: 'myValue' } });
fireEvent.change(input, { value: 'myValue' });
fireEvent.onChange(input, {...