Revert "Improves method messagePrefixLength. Now error messages like ReferenceError or TypeError are considered, too"
This reverts commit 913ad50a76.
This commit is contained in:
@@ -7787,7 +7787,7 @@ getJasmineRequireObj().StackTrace = function(j$) {
|
||||
}
|
||||
|
||||
function messagePrefixLength(message, stackLines) {
|
||||
if (!stackLines[0].match(/^\w*Error/)) {
|
||||
if (!stackLines[0].match(/^Error/)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user