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

File nonoptional.test.ts

packages/zod/src/v4/classic/tests/nonoptional.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { expect, expectTypeOf, test } from "vitest";
2import { z } from "zod/v4";
3
4test("nonoptional", () => {

Callers

nothing calls this directly

Calls 5

nonoptionalMethod · 0.80
stringMethod · 0.80
optionalMethod · 0.80
encodeMethod · 0.80
safeParseMethod · 0.65

Tested by

no test coverage detected