Correctly format stack traces for errors with multiline messages
- Fixes #1526
This commit is contained in:
@@ -130,7 +130,7 @@ getJasmineRequireObj().util = function(j$) {
|
||||
}
|
||||
|
||||
function callerFile() {
|
||||
var trace = new j$.StackTrace(errorWithStack().stack);
|
||||
var trace = new j$.StackTrace(errorWithStack());
|
||||
return trace.frames[2].file;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user