jest-matcher-utils
Advanced tools
Comparing version 27.0.0-next.9 to 27.0.0-next.10
@@ -6,3 +6,25 @@ 'use strict'; | ||
}); | ||
exports.matcherHint = exports.matcherErrorMessage = exports.getLabelPrinter = exports.pluralize = exports.diff = exports.printDiffOrStringify = exports.ensureExpectedIsNonNegativeInteger = exports.ensureNumbers = exports.ensureExpectedIsNumber = exports.ensureActualIsNumber = exports.ensureNoExpected = exports.printWithType = exports.printExpected = exports.printReceived = exports.highlightTrailingWhitespace = exports.stringify = exports.SUGGEST_TO_CONTAIN_EQUAL = exports.DIM_COLOR = exports.BOLD_WEIGHT = exports.INVERTED_COLOR = exports.RECEIVED_COLOR = exports.EXPECTED_COLOR = void 0; | ||
exports.matcherHint = | ||
exports.matcherErrorMessage = | ||
exports.getLabelPrinter = | ||
exports.pluralize = | ||
exports.diff = | ||
exports.printDiffOrStringify = | ||
exports.ensureExpectedIsNonNegativeInteger = | ||
exports.ensureNumbers = | ||
exports.ensureExpectedIsNumber = | ||
exports.ensureActualIsNumber = | ||
exports.ensureNoExpected = | ||
exports.printWithType = | ||
exports.printExpected = | ||
exports.printReceived = | ||
exports.highlightTrailingWhitespace = | ||
exports.stringify = | ||
exports.SUGGEST_TO_CONTAIN_EQUAL = | ||
exports.DIM_COLOR = | ||
exports.BOLD_WEIGHT = | ||
exports.INVERTED_COLOR = | ||
exports.RECEIVED_COLOR = | ||
exports.EXPECTED_COLOR = | ||
void 0; | ||
@@ -353,11 +375,9 @@ var _chalk = _interopRequireDefault(require('chalk')); | ||
if (isLineDiffable(expected, received)) { | ||
const { | ||
replacedExpected, | ||
replacedReceived | ||
} = replaceMatchedToAsymmetricMatcher( | ||
(0, _deepCyclicCopyReplaceable.default)(expected), | ||
(0, _deepCyclicCopyReplaceable.default)(received), | ||
[], | ||
[] | ||
); | ||
const {replacedExpected, replacedReceived} = | ||
replaceMatchedToAsymmetricMatcher( | ||
(0, _deepCyclicCopyReplaceable.default)(expected), | ||
(0, _deepCyclicCopyReplaceable.default)(received), | ||
[], | ||
[] | ||
); | ||
const difference = (0, _jestDiff.diff)(replacedExpected, replacedReceived, { | ||
@@ -364,0 +384,0 @@ aAnnotation: expectedLabel, |
{ | ||
"name": "jest-matcher-utils", | ||
"description": "A set of utility functions for expect and related packages", | ||
"version": "27.0.0-next.9", | ||
"version": "27.0.0-next.10", | ||
"repository": { | ||
@@ -22,8 +22,8 @@ "type": "git", | ||
"chalk": "^4.0.0", | ||
"jest-diff": "^27.0.0-next.9", | ||
"jest-diff": "^27.0.0-next.10", | ||
"jest-get-type": "^27.0.0-next.9", | ||
"pretty-format": "^27.0.0-next.9" | ||
"pretty-format": "^27.0.0-next.10" | ||
}, | ||
"devDependencies": { | ||
"@jest/test-utils": "^27.0.0-next.9", | ||
"@jest/test-utils": "^27.0.0-next.10", | ||
"@types/node": "*" | ||
@@ -34,3 +34,3 @@ }, | ||
}, | ||
"gitHead": "d836f33f98845794b4eae8149548a81ddcfc6521" | ||
"gitHead": "6f44529270310b7dbdf9a0b72b21b5cd50fda4b1" | ||
} |
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
27626
750
Updatedjest-diff@^27.0.0-next.10