taras42 / karma-jasmine-html-reporter

A Karma plugin. Dynamically displays tests results at debug.html page
MIT License
44 stars 17 forks source link

With Jasmine 2.99.1, All specs appear black regardless of passing or failing #34

Open kamal2311 opened 6 years ago

kamal2311 commented 6 years ago

With Jasmine core 2.99.1, All specs appear black regardless of passing or failing. The html-reporter needs to be updated with the update in Jasmine-core.

boxmein commented 6 years ago

I can confirm. The issue comes from here:

https://github.com/taras42/karma-jasmine-html-reporter/blob/master/src/lib/html.jasmine.reporter.js#L198

result.status is undefined with jasmine-core@2.99.1.

In jasmine-core@2.6.2, the result object looks like this:

image

In jasmine-core@2.99.1 the result object looks like this:

image

To debug, I set a breakpoint at html.jasmine.reporter.js:196.

kamal2311 commented 6 years ago

Thank you @boxmein for the problem trace. Hope this gets fixed soon.

kievsash commented 5 years ago

Any update on this? Since observing same issue in Angular cli generated project (NG6).