Support source maps

This commit is contained in:
Jannes Meyer
2020-11-02 12:50:19 +01:00
parent b1bcd6e825
commit 60bbe68148
2 changed files with 32 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ getJasmineRequireObj().ExceptionFormatter = function(j$) {
stackTrace.style === 'webkit' ? '<Jasmine>' : ' at <Jasmine>';
stackTrace.frames.forEach(function(frame) {
if (frame.file && frame.file !== jasmineFile) {
if (frame.file !== jasmineFile) {
result.push(frame.raw);
} else if (result[result.length - 1] !== jasmineMarker) {
result.push(jasmineMarker);