diff --git a/deno/lib/__tests__/description.test.ts b/deno/lib/__tests__/description.test.ts index b19018a5c..9a9292e44 100644 --- a/deno/lib/__tests__/description.test.ts +++ b/deno/lib/__tests__/description.test.ts @@ -28,9 +28,9 @@ test("description should carry over to chained schemas", () => { }); test("description should not carry over to chained array schema", () => { - const schema = z.string().describe(description) + const schema = z.string().describe(description); expect(schema.description).toEqual(description); expect(schema.array().description).toEqual(undefined); expect(z.array(schema).description).toEqual(undefined); -}) +}); diff --git a/src/__tests__/description.test.ts b/src/__tests__/description.test.ts index 68187238c..88cff471b 100644 --- a/src/__tests__/description.test.ts +++ b/src/__tests__/description.test.ts @@ -27,9 +27,9 @@ test("description should carry over to chained schemas", () => { }); test("description should not carry over to chained array schema", () => { - const schema = z.string().describe(description) + const schema = z.string().describe(description); expect(schema.description).toEqual(description); expect(schema.array().description).toEqual(undefined); expect(z.array(schema).description).toEqual(undefined); -}) +});