The ternary operator is all fun and games until you end up with a branch coverag...

@aral@mastodon.ar.al

The ternary operator is all fun and games until you end up with a branch coverage drop without a line number for the culprit (because one of the branches is covered).

#dev #programming #JavaScript #unitTesting #coverage #ternaryOperator #branchLogic