Skip to content

Commit 0367041

Browse files
committed
chore: Remove invalid assert
This assert is invalid, total branches can be 1
1 parent 90df992 commit 0367041

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/coverage/parsers/cobertura.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ export class CoberturaCoverageParser implements CoverageParser {
207207
} else {
208208
newLine = line
209209
}
210-
assert(newLine.totalBranches === 0 || newLine.totalBranches > 1, "Total Branches should be 0, or at least 2")
211210
lineMap.set(line.lineNumber, newLine)
212211
}
213212

0 commit comments

Comments
 (0)