Closed tedconn closed 4 years ago
@tedconn See https://github.com/tedconn/kagekiri/pull/1 , you can use this to add an HTML reporter, which is useful for debugging. When I open it up, I can see some branches that aren't coverage (but maybe should be – or else ignored).
This is awesome! Thanks @tedconn
Fixes #27
Coverage is generated into
/coverage
(ignored) and currently looks like this:I don't understand how the line coverage can be 100% but the branch 91.3%. I removed some tests to see how the report changes and it was exactly what you would expect, so I am confident this is accurate.
In addition, I added a threshold check which will cause the test runner to fail if the threshold is not met.