jest-matcher-utils
Advanced tools
Comparing version 30.0.0-alpha.6 to 30.0.0-alpha.7
@@ -217,3 +217,3 @@ /*! | ||
var __webpack_exports__ = {}; | ||
// This entry need to be wrapped in an IIFE because it uses a non-standard name for the exports (exports). | ||
// This entry needs to be wrapped in an IIFE because it uses a non-standard name for the exports (exports). | ||
(() => { | ||
@@ -520,3 +520,3 @@ var exports = __webpack_exports__; | ||
const getLabelPrinter = (...strings) => { | ||
const maxLength = strings.reduce((max, string) => string.length > max ? string.length : max, 0); | ||
const maxLength = strings.reduce((max, string) => Math.max(string.length, max), 0); | ||
return string => `${string}: ${' '.repeat(maxLength - string.length)}`; | ||
@@ -523,0 +523,0 @@ }; |
{ | ||
"name": "jest-matcher-utils", | ||
"description": "A set of utility functions for expect and related packages", | ||
"version": "30.0.0-alpha.6", | ||
"version": "30.0.0-alpha.7", | ||
"repository": { | ||
@@ -27,8 +27,8 @@ "type": "git", | ||
"chalk": "^4.0.0", | ||
"jest-diff": "30.0.0-alpha.6", | ||
"jest-get-type": "30.0.0-alpha.6", | ||
"pretty-format": "30.0.0-alpha.6" | ||
"jest-diff": "30.0.0-alpha.7", | ||
"jest-get-type": "30.0.0-alpha.7", | ||
"pretty-format": "30.0.0-alpha.7" | ||
}, | ||
"devDependencies": { | ||
"@jest/test-utils": "30.0.0-alpha.6", | ||
"@jest/test-utils": "30.0.0-alpha.7", | ||
"@types/node": "*" | ||
@@ -39,3 +39,3 @@ }, | ||
}, | ||
"gitHead": "ba74b7de1b9cca88daf33f9d1b46bfe2b7f485a5" | ||
"gitHead": "bacb7de30d053cd87181294b0c8a8576632a8b02" | ||
} |
32775
+ Added@jest/schemas@30.0.0-alpha.7(transitive)
+ Added@sinclair/typebox@0.34.16(transitive)
+ Addeddiff-sequences@30.0.0-alpha.7(transitive)
+ Addedjest-diff@30.0.0-alpha.7(transitive)
+ Addedjest-get-type@30.0.0-alpha.7(transitive)
+ Addedpretty-format@30.0.0-alpha.7(transitive)
- Removed@jest/schemas@30.0.0-alpha.6(transitive)
- Removed@sinclair/typebox@0.33.22(transitive)
- Removeddiff-sequences@30.0.0-alpha.6(transitive)
- Removedjest-diff@30.0.0-alpha.6(transitive)
- Removedjest-get-type@30.0.0-alpha.6(transitive)
- Removedpretty-format@30.0.0-alpha.6(transitive)
Updatedjest-diff@30.0.0-alpha.7
Updatedjest-get-type@30.0.0-alpha.7
Updatedpretty-format@30.0.0-alpha.7