-
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
From class CovLine
// we start with all lines having been executed, and work
// backwards zeroing out lines based on V8 output.
this.count = 1
This will cause all count = 1,even though code not covered;
================================
Maybe in this part set count = 0?
v8-to-istanbul/lib/v8-to-istanbul.js
Line 203 in 46b9724
| if (startCol <= line.startCol && endCol >= line.endCol && !line.ignore) { |
However, if there is no uncovered data in the range(block.ranges), the original count=1 will not be set to 0.
lifeart
Metadata
Metadata
Assignees
Labels
No labels