We have a large test suite and would like to run tests only on changed files in our CI pipeline to improve build times (using --onChanged
). We also want to ensure that our overall test coverage meets a certain threshold and so are running jest with --coverage
. The problem is that we want to get coverage for the entire test suite, not just the changed files. Is it possible to either get the coverage for all tests while only running tests on those that have changed or to run jest --coverage
without actually running tests?
lundi 28 janvier 2019
Possible to get Jest coverage without running tests?
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire