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