Added some tests and modified the source code instead of the build product

This commit is contained in:
Valentin Hermann
2020-01-08 10:55:14 +01:00
parent e02c24d151
commit 0b4a9edff8
2 changed files with 43 additions and 1 deletions

View File

@@ -104,7 +104,7 @@ getJasmineRequireObj().StackTrace = function(j$) {
}
function messagePrefixLength(message, stackLines) {
if (!stackLines[0].match(/^Error/)) {
if (!stackLines[0].match(/^\w*Error/)) {
return 0;
}