-
-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: merge ranges properly when contained by other ranges in set #750
Conversation
d8bcd36
to
a94fd20
Compare
@isaacs I'm not allowed to push to this branch - can you run |
@@ -320,7 +411,7 @@ class FileCoverage { | |||
ret.branches = this.computeBranchTotals('b'); | |||
// Tracking additional information about branch truthiness | |||
// can be optionally enabled: | |||
if (this['bt']) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
huh, typo before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems that way!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this was intentional, then the code should have a test, because it wasn't being covered.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
digging through #639 and linked efforts, seems like this was simply a typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this LGTM and only adds tests without changing old ones, so I think this is good to go 👍
Need to fix prettier for CI, tho
a94fd20
to
4c9f38f
Compare
Fixed lint errors, PTAL, thanks :) |
Fix: istanbuljs/v8-to-istanbul#233