Fixed stack trace filtering on Safari 15

This commit is contained in:
Steve Gravrock
2021-12-07 16:50:07 -08:00
parent c48fb0b0e7
commit ce7460d8d4
5 changed files with 35 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ getJasmineRequireObj().StackTrace = function(j$) {
// e.g. "run@http://localhost:8888/__jasmine__/jasmine.js:4320:27"
// or "http://localhost:8888/__jasmine__/jasmine.js:4320:27"
{
re: /^(([^@\s]+)@)?([^\s]+)$/,
re: /^(?:(([^@\s]+)@)|@)?([^\s]+)$/,
fnIx: 2,
fileLineColIx: 3,
style: 'webkit'