jest-jasmine2
Advanced tools
Comparing version 14.3.1-alpha.410cb91a to 14.3.2-alpha.83c25417
@@ -238,3 +238,3 @@ /** | ||
const updateSnapshot = config.updateSnapshot; | ||
const hasUncheckedKeys = currentSnapshot.hasUncheckedKeys(); | ||
const uncheckedCount = currentSnapshot.getUncheckedCount(); | ||
if (updateSnapshot) { | ||
@@ -245,3 +245,2 @@ currentSnapshot.removeUncheckedKeys(); | ||
results.hasUncheckedKeys = !status.deleted && hasUncheckedKeys; | ||
results.snapshot.fileDeleted = status.deleted; | ||
@@ -252,2 +251,3 @@ results.snapshot.added = snapshotState.added; | ||
results.snapshot.updated = snapshotState.updated; | ||
results.snapshot.unchecked = !status.deleted ? uncheckedCount : 0; | ||
return results; | ||
@@ -254,0 +254,0 @@ }); |
{ | ||
"name": "jest-jasmine2", | ||
"version": "14.3.1-alpha.410cb91a", | ||
"version": "14.3.2-alpha.83c25417", | ||
"repository": { | ||
@@ -13,5 +13,5 @@ "type": "git", | ||
"jasmine-check": "^0.1.4", | ||
"jest-matchers": "^14.3.1-alpha.410cb91a", | ||
"jest-snapshot": "^14.3.1-alpha.410cb91a", | ||
"jest-util": "^14.3.1-alpha.410cb91a" | ||
"jest-matchers": "^14.3.2-alpha.83c25417", | ||
"jest-snapshot": "^14.3.2-alpha.83c25417", | ||
"jest-util": "^14.3.2-alpha.83c25417" | ||
}, | ||
@@ -18,0 +18,0 @@ "scripts": { |
106850
+ Addedjest-diff@14.3.2-alpha.83c25417(transitive)
+ Addedjest-file-exists@14.3.2-alpha.83c25417(transitive)
+ Addedjest-matcher-utils@14.3.2-alpha.83c25417(transitive)
+ Addedjest-matchers@14.3.2-alpha.83c25417(transitive)
+ Addedjest-mock@14.3.2-alpha.83c25417(transitive)
+ Addedjest-snapshot@14.3.2-alpha.83c25417(transitive)
+ Addedjest-util@14.3.2-alpha.83c25417(transitive)
- Removedjest-diff@14.3.1-alpha.410cb91a(transitive)
- Removedjest-file-exists@14.3.1-alpha.410cb91a(transitive)
- Removedjest-matcher-utils@14.3.1-alpha.410cb91a(transitive)
- Removedjest-matchers@14.3.1-alpha.410cb91a(transitive)
- Removedjest-mock@14.3.1-alpha.410cb91a(transitive)
- Removedjest-snapshot@14.3.1-alpha.410cb91a(transitive)
- Removedjest-util@14.3.1-alpha.410cb91a(transitive)