title: how to get code coverage in react with react testing library
body: <p>I have written unit tests using react testing library(@testing-library/react &amp; @testing-library/dom) and jest-dom(@testing-library/jest-dom). I am able to run my tests successfully.</p>
  
  <p>I am not using jest/jest-cli complete pacakge. I am using react testing library along with that jest-dom(@testing-library/jest-dom) it might be some sub pacakge or something i am not sure what to call it exactly. </p>
  
  <p>How to get code coverage using react testing library?</p>
  
  <p><a href="https://i.stack.imgur.com/ktAYG.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ktAYG.png" alt="enter image description here"></a></p>