-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
96525dd
commit 9f01816
Showing
6 changed files
with
106 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Error should have errors for every key in options 1`] = ` | ||
Array [ | ||
Object { | ||
"dataPath": ".string", | ||
"keyword": "type", | ||
"message": "should be string", | ||
"params": Object { | ||
"type": "string", | ||
}, | ||
"schemaPath": "#/properties/string/type", | ||
}, | ||
Object { | ||
"dataPath": ".array", | ||
"keyword": "type", | ||
"message": "should be array", | ||
"params": Object { | ||
"type": "array", | ||
}, | ||
"schemaPath": "#/properties/array/type", | ||
}, | ||
Object { | ||
"dataPath": ".object.prop", | ||
"keyword": "type", | ||
"message": "should be boolean", | ||
"params": Object { | ||
"type": "boolean", | ||
}, | ||
"schemaPath": "#/properties/object/properties/prop/type", | ||
}, | ||
Object { | ||
"dataPath": ".boolean", | ||
"keyword": "type", | ||
"message": "should be boolean", | ||
"params": Object { | ||
"type": "boolean", | ||
}, | ||
"schemaPath": "#/properties/boolean/type", | ||
}, | ||
Object { | ||
"dataPath": ".type", | ||
"keyword": "typeof", | ||
"message": "should pass \\"typeof\\" keyword validation", | ||
"params": Object { | ||
"keyword": "typeof", | ||
}, | ||
"schemaPath": "#/properties/type/typeof", | ||
}, | ||
Object { | ||
"dataPath": ".instance", | ||
"keyword": "instanceof", | ||
"message": "should pass \\"instanceof\\" keyword validation", | ||
"params": Object { | ||
"keyword": "instanceof", | ||
}, | ||
"schemaPath": "#/properties/instance/instanceof", | ||
}, | ||
] | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters