Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/colinhacks/zod
/ extend.test.ts
File
extend.test.ts
packages/zod/src/v4/core/tests/extend.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ expect, test } from
"vitest"
;
2
import
* as z from
"zod/v4"
;
3
4
test(
"safeExtend chaining preserves and overrides properties"
, () => {
Callers
nothing calls this directly
Calls
8
string
Method · 0.80
safeExtend
Method · 0.80
or
Method · 0.80
number
Method · 0.80
check
Method · 0.65
email
Method · 0.65
parse
Method · 0.65
extend
Method · 0.65
Tested by
no test coverage detected