ternary coverage
Increase resolution of coverage so that a ternary expression shows code coverage if one branch is not covered. (Otherwise my team is going to make me always use 8-line ifs instead of 1-line ternaries just so we can see code coverage completely :'( )
21
votes

-
Anonymous commented
Same for test and body on same line.
if(false) return "notCoveredButMarkerIsGreen";
wallaby js use another color for patial cover