Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion validators.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,12 @@ module.exports = async function valivators(draftUri, draftVersion) {
name: "@exodus/schemasafe",
setup: function(schema) {
return schemasafe.validator(schema, {
// some tests are ill-formed on a purpose, we disable bail-out on those to check the actual behavior
allowUnusedKeywords: true,
allowUnreachable: true,
includeErrors: true,
schemas: refs,
$schemaDefault: "https://json-schema.org/draft-06/schema",
$schemaDefault: draftUri,
});
},
test: function(instance, json, schema) {
Expand Down