When I run the Jest coverage report, it prints out each type of coverage and the percentage by file. The last column that shows the uncovered lines gets truncated when there are more than ~4-5 lines. Is there a way to print all of the uncovered lines?
-------------------------------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
-------------------------------|----------|----------|----------|----------|----------------|
All files | 75.57 | 69.18 | 74.21 | 75.83 | |
js/components/catalyst | 80.74 | 72.97 | 80.16 | 81.85 | |
JobGroup.jsx | 57.14 | 50 | 44.44 | 60 |... 33,34,38,73 |
...etc
This shows me that JobGroup.jsx has lines 33,34,38, and 73, but there are more, and I'd like to see them all at once.
<coveragedir>/lcov-report/index.html
– stilllifecobertura-coverage.xml
report that we have, and that does have what I need (with some digging)! Thanks! If anyone else is reading this in the future and has acobertura-coverage.xml
file, the lines that havehits="0"
are the uncovered lines. – L. Cromer