Merge branch 'main' of https://github.com/JannesMeyer/jasmine into main
* Merges #1862 from @JannesMeyer * Adds support for stack traces created by `node --enable-source-maps` with tools like the Typescript compiler.
This commit is contained in:
@@ -3559,7 +3559,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);
|
||||
|
||||
Reference in New Issue
Block a user