Skip to content

Commit

Permalink
Fix #83 - default console reporter hangs sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
ybian committed Jul 27, 2016
1 parent b2f2f3c commit 9b5df8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/reporters/console_reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ function ConsoleReporter(options) {
}

function defaultStackFilter(stack) {
if (!stack) {
return '';
}

var filteredStack = stack.split('\n').filter(function(stackLine) {
return stackLine.indexOf(jasmineCorePath) === -1;
}).join('\n');
Expand Down

0 comments on commit 9b5df8b

Please sign in to comment.