Let's say I want to check this component render its child with the right initial props
const { container } = render(<Header/>)
Where is
<div> <SomeChild custom-prop=innerHeaderVariableLikeInitialState /> </div>
Before I can try to check anything when I run my test I get the prop 'custom-prop' is marked as required but it's value is undefined (I use prop types) So it means the react-testing-library doesn't initialize its child componenent ? How to manage this ? I feel I'm not taking this with the right angle
Thanks