title: When should you use render and shallow in Enzyme / React tests?
body: <p>prior to posting this question, I tried to search in sqa stackexchange but I found no post about shallow and render there, so I hope someone can help me out here.</p>
  
  <p>When should I use shallow and render in testing react components?
  Based on the airbnb docs, I've made some opinions on the difference of the two:</p>
  
  <ol>
  <li><p>Since shallow is testing components <strong>as a unit</strong>, so it should be used for 'parent' components. (ex. Tables, Wrappers, etc.)</p></li>
  <li><p>Render is for child components.</p></li>
  </ol>
  
  <p>The reason I asked this question, is that I'm having a hard time to figure out which one I should use (though the docs say that they're very similar)</p>
  
  <p>So, how do I know which one to use in a specific scenario?</p>