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
Sometimes (it is unclear to me when) uncaught exceptions that fail tests will not include a stack property. When this happens, the TerminalReporter throws an error. Worse, any reporters registered after the TerminalReporter are not notified of this failure, which is pretty bad.
My tests that repro this issue
describe('my tests',function(){it('throws async error',function(){setTimeout(function(){thrownewError('I am the error');},5);});it('just waits a bunch',function(done){setTimeout(function(){done();},100);});});
Sometimes (it is unclear to me when) uncaught exceptions that fail tests will not include a
stack
property. When this happens, theTerminalReporter
throws an error. Worse, any reporters registered after theTerminalReporter
are not notified of this failure, which is pretty bad.My tests that repro this issue
This throws an error here:
jasmine-reporters/src/terminal_reporter.js
Line 185 in 491efaa
This should be an easy fix...
The text was updated successfully, but these errors were encountered: