jest-schema-matcher
Advanced tools
Comparing version 1.6.0 to 1.7.0
@@ -0,1 +1,7 @@ | ||
/** | ||
* This ensures that a value matches the most recent JSON schema. | ||
* Check out the [README](https://github.com/ryparker/jest-schema-matcher) for more information. | ||
* @param object - Valid object or array | ||
* @param schemaName - Name of the schema file to generate/validate. | ||
*/ | ||
export default function toMatchSchema(object: any, schemaName: string): { | ||
@@ -2,0 +8,0 @@ name: string; |
@@ -15,2 +15,8 @@ "use strict"; | ||
const { SHOULD_UPDATE_SCHEMAS } = global; | ||
/** | ||
* This ensures that a value matches the most recent JSON schema. | ||
* Check out the [README](https://github.com/ryparker/jest-schema-matcher) for more information. | ||
* @param object - Valid object or array | ||
* @param schemaName - Name of the schema file to generate/validate. | ||
*/ | ||
function toMatchSchema(object, schemaName) { | ||
@@ -17,0 +23,0 @@ const failureMessages = []; |
{ | ||
"name": "jest-schema-matcher", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"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
16476
184