MCPcopy
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

1import { expect, test } from "vitest";
2import * as z from "zod/v4";
3
4test("safeExtend chaining preserves and overrides properties", () => {

Callers

nothing calls this directly

Calls 8

stringMethod · 0.80
safeExtendMethod · 0.80
orMethod · 0.80
numberMethod · 0.80
checkMethod · 0.65
emailMethod · 0.65
parseMethod · 0.65
extendMethod · 0.65

Tested by

no test coverage detected