Don't leak errorWithStack in late async expectation failures
This commit is contained in:
@@ -19,7 +19,8 @@ getJasmineRequireObj().buildExpectationResult = function(j$) {
|
||||
matcherName: options.matcherName,
|
||||
message: message(),
|
||||
stack: options.omitStackTrace ? '' : stack(),
|
||||
passed: options.passed
|
||||
passed: options.passed,
|
||||
globalErrorType: options.globalErrorType
|
||||
};
|
||||
|
||||
if (!result.passed) {
|
||||
|
||||
Reference in New Issue
Block a user