MCPcopy
hub / github.com/colinhacks/zod / complex.test.ts

File complex.test.ts

packages/zod/src/v3/tests/complex.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { expect, test } from "vitest";
2import * as z from "zod/v3";
3
4const crazySchema = z.object({

Callers

nothing calls this directly

Calls 13

optionalMethod · 0.80
nullableMethod · 0.80
stringMethod · 0.80
numberMethod · 0.80
booleanMethod · 0.80
nullMethod · 0.80
undefinedMethod · 0.80
arrayMethod · 0.80
refineMethod · 0.80
mergeMethod · 0.65
nonemptyMethod · 0.65
parseMethod · 0.65

Tested by

no test coverage detected