Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ describe, expect, expectTypeOf, test } from
"vitest"
;
2
import
* as z from
"zod/v4"
;
3
4
describe(
"basic refinement functionality"
, () => {
Callers
nothing calls this directly
Calls
15
string
Method · 0.80
refine
Method · 0.80
superRefine
Method · 0.80
array
Method · 0.80
number
Method · 0.80
describe
Function · 0.70
strict
Method · 0.65
partial
Method · 0.65
parse
Method · 0.65
email
Method · 0.65
safeParse
Method · 0.65
parseAsync
Method · 0.65
Tested by
no test coverage detected