Skip to content

Commit 47bb65d

Browse files
committed
closing brace can be covered, np
1 parent 328afb4 commit 47bb65d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function calculate_stylesheet_coverage({ text, url, ranges }: Coverage) {
8080

8181
let prev_is_covered = index > 0 && line_coverage[index - 1] === 1
8282

83-
if (is_in_range && !is_closing_brace && !is_empty) {
83+
if (is_in_range) {
8484
is_covered = true
8585
} else if ((is_empty || is_closing_brace) && prev_is_covered) {
8686
is_covered = true

0 commit comments

Comments
 (0)