Comparing version 21.3.0-beta.4 to 21.3.0-beta.5
@@ -200,8 +200,10 @@ 'use strict'; | ||
} catch (error) { | ||
if (!(error instanceof JestAssertionError)) { | ||
if ( | ||
!(error instanceof JestAssertionError) && | ||
error.name !== 'PrettyFormatPluginError' && | ||
// Guard for some environments (browsers) that do not support this feature. | ||
Error.captureStackTrace) | ||
{ | ||
// Try to remove this and deeper functions from the stack trace frame. | ||
// Guard for some environments (browsers) that do not support this feature. | ||
if (Error.captureStackTrace) { | ||
Error.captureStackTrace(error, throwingMatcher); | ||
} | ||
Error.captureStackTrace(error, throwingMatcher); | ||
} | ||
@@ -208,0 +210,0 @@ throw error; |
{ | ||
"name": "expect", | ||
"version": "21.3.0-beta.4", | ||
"version": "21.3.0-beta.5", | ||
"repository": { | ||
@@ -13,8 +13,8 @@ "type": "git", | ||
"ansi-styles": "^3.2.0", | ||
"jest-diff": "21.3.0-beta.4", | ||
"jest-get-type": "21.3.0-beta.4", | ||
"jest-matcher-utils": "21.3.0-beta.4", | ||
"jest-message-util": "21.3.0-beta.4", | ||
"jest-diff": "21.3.0-beta.5", | ||
"jest-get-type": "21.3.0-beta.5", | ||
"jest-matcher-utils": "21.3.0-beta.5", | ||
"jest-message-util": "21.3.0-beta.5", | ||
"jest-regex-util": "^21.2.0" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
510077
13526
+ Addedjest-diff@21.3.0-beta.5(transitive)
+ Addedjest-get-type@21.3.0-beta.5(transitive)
+ Addedjest-matcher-utils@21.3.0-beta.5(transitive)
+ Addedjest-message-util@21.3.0-beta.5(transitive)
+ Addedpretty-format@21.3.0-beta.5(transitive)
- Removedjest-diff@21.3.0-beta.4(transitive)
- Removedjest-get-type@21.3.0-beta.4(transitive)
- Removedjest-matcher-utils@21.3.0-beta.4(transitive)
- Removedjest-message-util@21.3.0-beta.4(transitive)
- Removedpretty-format@21.3.0-beta.4(transitive)
Updatedjest-diff@21.3.0-beta.5
Updatedjest-get-type@21.3.0-beta.5