Update State & Event Handlers - update tests π¬
Have you checked what the console returns for tests? The first error should say:
We need to add onSelect
prop to validProps
in ForecastSummary.test.js
file. Please note we don't need to pass the actual function into it, just an empty one:
The only thing failing now should be snapshot testing. Take a look at the messages in the terminal to fix them.