import { expect, test } from "bun:test"; import { parseOrThrow } from "@wrnexus/validation"; import { contactSchema } from "../app/schemas/contact.ts"; test("starter validation schema accepts a contact request", () => { expect( parseOrThrow(contactSchema, { email: "hello@example.com", message: "Hello from the generated application.", }), ).toEqual({ email: "hello@example.com", message: "Hello from the generated application.", }); });