jest-matcher-utils
Advanced tools
Comparing version 15.0.0 to 15.0.1
@@ -102,2 +102,17 @@ /** | ||
const printWithType = ( | ||
name, | ||
received, | ||
print) => | ||
{ | ||
const type = getType(received); | ||
return ( | ||
name + ':' + ( | ||
type !== 'null' && type !== 'undefined' ? | ||
'\n ' + type + ': ' : | ||
' ') + | ||
print(received)); | ||
}; | ||
const ensureNoExpected = (expected, matcherName) => { | ||
@@ -160,2 +175,3 @@ matcherName || (matcherName = 'This'); | ||
printReceived, | ||
printWithType, | ||
stringify }; |
{ | ||
"name": "jest-matcher-utils", | ||
"description": "A set of utility functions for jest-matchers and related packages", | ||
"version": "15.0.0", | ||
"version": "15.0.1", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
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
4925
142