dtabuenc / karma-html-reporter

Karma Html Reporter Plugin
MIT License
45 stars 30 forks source link

Success of undefined and Suites of undefined errors are thrown sometimes. #45

Open vbrin27 opened 4 years ago

vbrin27 commented 4 years ago

While running testcases, in rare cases 2 issues are thrown (Not thrown in all the run), 1) Success of undefined. 2) Suites of undefined

Screen Shot 2020-10-09 at 8 22 04 PM Screen Shot 2020-10-09 at 8 21 50 PM
sajal-n commented 3 years ago

This is happening on my build server when we upgraded to Angular 11. Do we know the exact root cause as this is not consistent but happening very frequently after the upgrade.

ERROR [karma-server]: UncaughtException: TypeError: Cannot read property 'suites' of undefined at getOrCreateSuite (/build/ui/node_modules/karma-html-reporter/index.js:137:43) at HtmlReporter.specSuccess.specSkipped.specFailure