title: React testing library - check the existence of empty div
body: <p>I'm testing a component where if <code>ItemLength = 1</code>, <code>render</code> returns <code>null</code>.</p>
  
  <p><code>const { container, debug } = render(&lt;MyComp ItemLength={1} /&gt;);</code></p>
  
  <p>When I call <code>debug()</code> in my test, it shows a <code>&lt;div /&gt;</code>. How do I check that the component is returning an empty div in my test?</p>