adamgruber / mochawesome-report-generator

Standalone mochawesome report generator. Just add test data.
MIT License
233 stars 90 forks source link

formatDuration raises sometimes an "Expected a finite number" exception (and it displays a blank screen) #200

Closed svengau closed 2 years ago

svengau commented 2 years ago

In some cases, the formatDuration receives a null value, which raises an "Expected a finite number" and finally the mocha report is is just blank. Here is a screenshot to illustrate the issue

Screen Shot 2022-06-22 at 11 48 59 AM
svengau commented 2 years ago

dup with https://github.com/adamgruber/mochawesome/issues/378