Log for non-failing tests?
Closed this issue · 3 comments
robsimmons commented
Log messages only seem to be included for failing tests; this may be a fundamental limitation of Karma+Jasmine, but I wanted to know if you saw any way around it.
MilanLempera commented
Hi,
reporter process result.log every time without checking test results (https://github.com/Angular-cz/karma-json-result-reporter/blob/master/index.js#L52).
But reporters set result.log only if test fails
see:
karma-jasmine
karma-mocha
I know of no way to read "raw" data from jasmine result. Reporter gets only result from runners.
robsimmons commented
Sorry for being silent before: thanks for your helpful response! I'll look into where anything is possible upstream.
MilanLempera commented
You are welcome.