labcodes/rel-events

Solve branch coverage issues on Jest/Coveralls

Closed this issue · 1 comments

For some unknown reason (at least to me), even though I've added tests for every single scenario and branching paths, there are still two lines of code that jest/coveralls say they're not covered; both of them are the lines for the initialization of Event and RequestEvent classes.

It made me lower the branch coverage goal to 95%, which is not ideal. :(

Fixed on #9 :)