jest-snapshot
Advanced tools
Comparing version 17.0.1 to 17.0.2
@@ -86,3 +86,3 @@ /** | ||
if (pass) { | ||
return { pass: true, message: '' }; | ||
return { message: '', pass: true }; | ||
} else {const | ||
@@ -113,3 +113,3 @@ count = result.count,expected = result.expected,actual = result.actual; | ||
return { pass: false, message }; | ||
return { message, pass: false }; | ||
} | ||
@@ -150,10 +150,10 @@ }; | ||
module.exports = { | ||
EXTENSION: SNAPSHOT_EXTENSION, | ||
SnapshotState, | ||
addPlugins, | ||
cleanup, | ||
EXTENSION: SNAPSHOT_EXTENSION, | ||
getPlugins, | ||
getSnapshotState, | ||
initializeSnapshotState, | ||
SnapshotState, | ||
toMatchSnapshot, | ||
toThrowErrorMatchingSnapshot }; |
@@ -163,6 +163,6 @@ /** | ||
return { | ||
actual: receivedUnescaped, | ||
count, | ||
pass: false, | ||
expected, | ||
actual: receivedUnescaped }; | ||
pass: false }; | ||
@@ -169,0 +169,0 @@ } else { |
@@ -96,10 +96,10 @@ /** | ||
SNAPSHOT_EXTENSION, | ||
ensureDirectoryExists, | ||
escape, | ||
getSnapshotData, | ||
getSnapshotPath, | ||
getSnapshotData, | ||
testNameToKey, | ||
keyToTestName, | ||
saveSnapshotFile, | ||
serialize, | ||
ensureDirectoryExists, | ||
saveSnapshotFile, | ||
escape, | ||
testNameToKey, | ||
unescape }; |
{ | ||
"name": "jest-snapshot", | ||
"version": "17.0.1", | ||
"version": "17.0.2", | ||
"repository": { | ||
@@ -11,6 +11,6 @@ "type": "git", | ||
"dependencies": { | ||
"jest-diff": "^17.0.1", | ||
"jest-diff": "^17.0.2", | ||
"jest-file-exists": "^17.0.0", | ||
"jest-matcher-utils": "^17.0.1", | ||
"jest-util": "^17.0.0", | ||
"jest-util": "^17.0.2", | ||
"natural-compare": "^1.4.0", | ||
@@ -17,0 +17,0 @@ "pretty-format": "~4.2.1" |
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
Updatedjest-diff@^17.0.2
Updatedjest-util@^17.0.2