title: How to get test coverage from Jest while testing React.js App?
body: <p>We need to check test coverage for our React.js app and <em>ideally</em> get <strong>lcov.info</strong> output to send to a third-party coverage tracker like <a href="https://coveralls.io/" rel="noreferrer">Coveralls</a> or <a href="https://codeclimate.com" rel="noreferrer">CodeClimate</a></p>
  
  <p>Its unclear from the <a href="https://facebook.github.io/jest/docs/api.html#content" rel="noreferrer">Jest API</a> how to get test coverage information when running tests.</p>
  
  <p>There's an <strong><em>Open</em> Issue</strong> on GitHub: <a href="https://github.com/facebook/jest/issues/101" rel="noreferrer">https://github.com/facebook/jest/issues/101</a> and associated Pull Request: <a href="https://github.com/facebook/jest/pull/178" rel="noreferrer">https://github.com/facebook/jest/pull/178</a>
  but the PR still has not been merged by the Jest core team.</p>
  
  <p>Is there an <em>alternative</em> way of getting coverage info that <em>works</em> <strong><em>today</em></strong>?</p>
  
  <p><strong>Note</strong>: I'm <em>aware</em> of <a href="https://stackoverflow.com/users/158095/adrian-adkison">@adrian-adkison</a> suggestion in:  <a href="https://stackoverflow.com/a/27479903/1148249">https://stackoverflow.com/a/27479903/1148249</a> but <a href="https://github.com/hankhsiao/jest" rel="noreferrer">@hankhsiao's <strong>fork</strong></a> is quite out-of-date with jest-cli since he submitted the Pull Request 2.5 months ago...</p>