You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When karma is run in debug and a karma adapter calls __karma__.error, the error message should be printed on the console.
Actual behavior
When karma is run in debug, debug.html defines the window.__karma__ object but does not include an error function. Then, when a karma adapter calls __karma__.error, the error message printed is karma.error is not a function which occludes the real error.
There is at least one occurrence reported in the wild.
Enviroment Details
Karma version (output of karma --version): 0.13.22
Relevant part of your karma.config.js file
frameworks: ['jspm', ...]
or other adapter which calls karma.error.
Steps to reproduce the behaviour
Mock an adapter which alway calls window.karma.error with a message.
Start karma on any test suite in debug.
The intended error message is not printed on the console.
The text was updated successfully, but these errors were encountered:
Expected behavior
When karma is run in debug and a karma adapter calls
__karma__.error
, the error message should be printed on the console.Actual behavior
When karma is run in debug, debug.html defines the
window.__karma__
object but does not include an error function. Then, when a karma adapter calls__karma__.error
, the error message printed iskarma.error is not a function
which occludes the real error.There is at least one occurrence reported in the wild.
Enviroment Details
karma --version
): 0.13.22karma.config.js
fileor other adapter which calls karma.error.
Steps to reproduce the behaviour
The text was updated successfully, but these errors were encountered: