diff --git a/content/03-Objects/04-Applying-Schema-to-Property-Names/code.ts b/content/03-Objects/04-Applying-Schema-to-Property-Names/code.ts index 0b3a2d6..9dd1081 100644 --- a/content/03-Objects/04-Applying-Schema-to-Property-Names/code.ts +++ b/content/03-Objects/04-Applying-Schema-to-Property-Names/code.ts @@ -7,7 +7,7 @@ const solution = { minProperties: 2, propertyNames: { pattern: "^[A-Z]+$", - minimumLength: 3, + minLength: 3, }, additionalProperties: { type: ["string", "integer"], @@ -22,6 +22,13 @@ const testCases = [ }, expected: true, }, + { + input: { + NAME: "JOhN DOE", + PH: "97232748274", + }, + expected: false, + }, { input: { NAME: "JOhN DOE",