jest-schema-matcher
Advanced tools
Comparing version 1.7.1 to 1.7.2
@@ -149,3 +149,3 @@ "use strict"; | ||
const { errors } = validator; | ||
return errors.map(error => { | ||
return errors.slice(0, 1).map(error => { | ||
const rejectedValue = pretty_format_1.default(eval(`_object${error.dataPath}`)); | ||
@@ -167,4 +167,4 @@ const expectedDetails = error.params; | ||
'\n\n'); | ||
}).slice(0, 2); | ||
}); | ||
} | ||
//# sourceMappingURL=to-match-schema.js.map |
{ | ||
"name": "jest-schema-matcher", | ||
"version": "1.7.1", | ||
"version": "1.7.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
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
16523