title: Testing React components with Jest & Enzyme: where to test whether component props were given
body: <p>When writing tests for React components using <strong>Jest &amp; Enzyme</strong>, which tests should be responsible for making sure a component is given certain props?</p>
  
  <pre><code>&lt;App&gt;
    &lt;Somewhere&gt;
      &lt;MyNestedComp someProps={someValue} /&gt;
    &lt;/Somewhere&gt;
  &lt;/App&gt;
  </code></pre>
  
  <p>In the example above, where should we test to make sure MyNestedComp is given the someProps prop. Currently, I test each of my components and am a bit confused sometimes as to where to test such specifics.</p>