Skip to content

Commit 58b9eab

Browse files
mario-camposmbg
andauthored
Adjust test name
By @mbg Co-authored-by: Michael B. Gale <mbg@github.com>
1 parent 2a939e7 commit 58b9eab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/json/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const optionalSchema = {
4949
optionalKey: json.optional(json.string),
5050
};
5151

52-
test("validateSchema - optional properties may be absent or undefined, but reject null", async (t) => {
52+
test("validateSchema - optional properties are optional", async (t) => {
5353
// Optional fields may be absent or explicitly undefined
5454
t.true(json.validateSchema(optionalSchema, {}));
5555
t.true(json.validateSchema(optionalSchema, { optionalKey: undefined }));

0 commit comments

Comments
 (0)