Correctly format stack traces for errors with multiline messages

- Fixes #1526
This commit is contained in:
Steve Gravrock
2018-03-10 08:50:22 -08:00
parent 6f960d8662
commit 05015a8b3e
6 changed files with 165 additions and 46 deletions

View File

@@ -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;
}