React’s new context api with enzyme : <p>I have been using enzyme and love it a lot. It works with react 16 until I wanted to test my new project that uses react’s new context api. </p>

<p>If I render only my basic component using shallow and console log the debug of the component I can see its content but when I use the new context api with provider and consumer, I get <code>&lt;undefined /&gt;</code> as a render out. Enzyme does not render the component but react does.</p>

<p>Can someone please provide some guidance. </p>

<p>Thank you.</p>
