Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vbrin27 opened this issue Oct 10, 2020 · 1 comment

Comments

@vbrin27
Copy link

vbrin27 commented Oct 10, 2020

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

vbrin27 pushed a commit to vbrin27/karma-html-reporter that referenced this issue Oct 10, 2020
@sajal-n
Copy link

sajal-n commented Apr 15, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants