Skip to content

Fixed Total Coverage: NaN%, when the code has no conditionals

Hi, thanks for the nice package, very useful!

I was using your package to display the coverage percentage in my Gitlab pipeline, but encountered a NaN% as shown below.

screenshot of NaN in console

After some digging I noticed, that me not having conditionals in my code was the issue.

This fix is a suggestion.

Keep up the good work 👍🏻

Merge request reports