Skip to main content
Module

x/zod/__tests__/description.test.ts

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
File
// @ts-ignore TS6133import { expect } from "https://deno.land/x/expect@v0.2.6/mod.ts";const test = Deno.test;
import * as z from "../index.ts";
test("description", () => { const schema: any = z.string(); const DESC = "asdlfkjasdf"; expect(schema.describe(DESC).description).toEqual(DESC);});