From edfa78263d50d939375b49745bc6ee8cb12cd774 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 16 Jan 2026 10:37:12 +0000 Subject: [PATCH] fix: typos are refactored --- annotations/test-utils.js | 2 +- bundle/test-utils.js | 2 +- draft-2019-09/json-schema-test-suite.spec.ts | 2 +- draft-2020-12/json-schema-test-suite.spec.ts | 2 +- openapi-3-0/json-schema-test-suite.spec.ts | 2 +- openapi-3-1/json-schema-test-suite.spec.ts | 2 +- openapi-3-2/json-schema-test-suite.spec.ts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/annotations/test-utils.js b/annotations/test-utils.js index 5841ca7..f782980 100644 --- a/annotations/test-utils.js +++ b/annotations/test-utils.js @@ -30,7 +30,7 @@ export const isCompatible = (compatibility, versionUnderTest) => { } break; default: - throw Error(`Unsupported contraint operator: ${operator}`); + throw Error(`Unsupported constraint operator: ${operator}`); } } diff --git a/bundle/test-utils.js b/bundle/test-utils.js index 889cddc..cbdfbb5 100644 --- a/bundle/test-utils.js +++ b/bundle/test-utils.js @@ -54,7 +54,7 @@ export const isCompatible = (compatibility, versionUnderTest) => { } break; default: - throw Error(`Unsupported contraint operator: ${operator}`); + throw Error(`Unsupported constraint operator: ${operator}`); } } diff --git a/draft-2019-09/json-schema-test-suite.spec.ts b/draft-2019-09/json-schema-test-suite.spec.ts index 39aa8dc..d531939 100644 --- a/draft-2019-09/json-schema-test-suite.spec.ts +++ b/draft-2019-09/json-schema-test-suite.spec.ts @@ -19,7 +19,7 @@ type Test = { valid: boolean; }; -// This package is indended to be a compatibility mode from v1 JSON Schema. +// This package is intended to be a compatibility mode from v1 JSON Schema. // Some edge cases might not work exactly as specified, but it should work for // any real-life schema. const skip = new Set([ diff --git a/draft-2020-12/json-schema-test-suite.spec.ts b/draft-2020-12/json-schema-test-suite.spec.ts index 27fed96..7e21368 100644 --- a/draft-2020-12/json-schema-test-suite.spec.ts +++ b/draft-2020-12/json-schema-test-suite.spec.ts @@ -19,7 +19,7 @@ type Test = { valid: boolean; }; -// This package is indended to be a compatibility mode from v1 JSON Schema. +// This package is intended to be a compatibility mode from v1 JSON Schema. // Some edge cases might not work exactly as specified, but it should work for // any real-life schema. const skip = new Set([ diff --git a/openapi-3-0/json-schema-test-suite.spec.ts b/openapi-3-0/json-schema-test-suite.spec.ts index 5ce1ddc..d491f82 100644 --- a/openapi-3-0/json-schema-test-suite.spec.ts +++ b/openapi-3-0/json-schema-test-suite.spec.ts @@ -18,7 +18,7 @@ type Test = { valid: boolean; }; -// This package is indended to be a compatibility mode from v1 JSON Schema. +// This package is intended to be a compatibility mode from v1 JSON Schema. // Some edge cases might not work exactly as specified, but it should work for // any real-life schema. const skip = new Set([ diff --git a/openapi-3-1/json-schema-test-suite.spec.ts b/openapi-3-1/json-schema-test-suite.spec.ts index 116edba..18524a5 100644 --- a/openapi-3-1/json-schema-test-suite.spec.ts +++ b/openapi-3-1/json-schema-test-suite.spec.ts @@ -19,7 +19,7 @@ type Test = { valid: boolean; }; -// This package is indended to be a compatibility mode from v1 JSON Schema. +// This package is intended to be a compatibility mode from v1 JSON Schema. // Some edge cases might not work exactly as specified, but it should work for // any real-life schema. const skip = new Set([ diff --git a/openapi-3-2/json-schema-test-suite.spec.ts b/openapi-3-2/json-schema-test-suite.spec.ts index 4fd5681..87a9863 100644 --- a/openapi-3-2/json-schema-test-suite.spec.ts +++ b/openapi-3-2/json-schema-test-suite.spec.ts @@ -19,7 +19,7 @@ type Test = { valid: boolean; }; -// This package is indended to be a compatibility mode from v1 JSON Schema. +// This package is intended to be a compatibility mode from v1 JSON Schema. // Some edge cases might not work exactly as specified, but it should work for // any real-life schema. const skip = new Set([