Fix checkSchema test names

This commit is contained in:
Michael B. Gale
2026-07-13 10:22:19 +01:00
parent ba5fbf159a
commit 89343ee1aa

View File

@@ -107,7 +107,7 @@ const checkSchemaTestSchema = {
rootKey: json.object(objectSchema),
};
test("validateSchema - checkSchema reports unknown keys", async (t) => {
test("checkSchema - reports unknown keys", async (t) => {
const result = json.checkSchema(checkSchemaTestSchema, {
rootKey: {
objectKey: {
@@ -125,7 +125,7 @@ test("validateSchema - checkSchema reports unknown keys", async (t) => {
);
});
test("validateSchema - checkSchema reports invalid keys", async (t) => {
test("checkSchema - reports invalid keys", async (t) => {
const result = json.checkSchema(checkSchemaTestSchema, {
rootKey: {
objectKey: {