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: http://ift.tt/1zNbSdr and associated Pull Request: http://ift.tt/1BVDfQc 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: http://ift.tt/1BVDhYe but @hankhsiao's fork is quite out-of-date with jest-cli since he submitted the Pull Request 2.5 months ago...
Aucun commentaire:
Enregistrer un commentaire