Skip to content

Commit daaa1c7

Browse files
chore: generate
1 parent 1fae784 commit daaa1c7

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

packages/opencode/test/util/effect-zod.test.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -848,12 +848,11 @@ describe("util.effect-zod", () => {
848848
test("identifier + description propagate through the preprocess wrapper", () => {
849849
const Inner = Schema.Struct({
850850
x: Schema.optional(Schema.String),
851+
}).annotate({
852+
identifier: "WithPreproc",
853+
description: "A schema with preprocess",
854+
[ZodPreprocess]: (v: unknown) => v,
851855
})
852-
.annotate({
853-
identifier: "WithPreproc",
854-
description: "A schema with preprocess",
855-
[ZodPreprocess]: (v: unknown) => v,
856-
})
857856
const schema = zod(Inner)
858857
expect(schema.meta()?.ref).toBe("WithPreproc")
859858
expect(schema.meta()?.description).toBe("A schema with preprocess")

0 commit comments

Comments
 (0)