sh33dafi / jest-sonar

A jest reporter that generates sonar reports
MIT License
49 stars 11 forks source link

fix(#31): fixes #31 issue with null duration #34

Closed jlestes closed 3 years ago

jlestes commented 3 years ago

When a test is skipped or marked as a todo the duration is reported as null. This fix defaults a nullish value to 0 to prevent errors from SonarQube.