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

File refine.test.ts

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

Source from the content-addressed store, hash-verified

1import { describe, expect, expectTypeOf, test } from "vitest";
2import * as z from "zod/v4";
3
4describe("basic refinement functionality", () => {

Callers

nothing calls this directly

Calls 15

stringMethod · 0.80
refineMethod · 0.80
superRefineMethod · 0.80
arrayMethod · 0.80
numberMethod · 0.80
describeFunction · 0.70
strictMethod · 0.65
partialMethod · 0.65
parseMethod · 0.65
emailMethod · 0.65
safeParseMethod · 0.65
parseAsyncMethod · 0.65

Tested by

no test coverage detected