Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix on change validation #1919
I don't understand what kind of tests do you expect. I just added another one to check passing
ljharb left a comment
To be clear: you changed DateRangePicker, so there should be tests for those changes in https://github.com/airbnb/react-dates/blob/master/test/components/DateRangePicker_spec.jsx. Also SingleDatePicker, so there should be tests in https://github.com/airbnb/react-dates/blob/master/test/components/DateRangePicker_spec.jsx.
Basically, every component should be individually unit tested, even if it's already covered by tests for a consuming component.