Rocky_Mountain_Vending/.pnpm-store/v10/files/06/f8a860658c8088efb979cbf58d4277ceabc2efb408efcfc760ecae338a13580b88d6df148d90b36b4726851a19a65392d7905bfc857953d7d2f3d09e4a9aa6
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

23 lines
498 B
Text

import { expect, test } from "vitest";
import * as z from "zod/v4";
declare module "zod/v4" {
interface ZodType {
/** @deprecated */
_classic(): string;
}
}
test("prototype extension", () => {
z.ZodType.prototype._classic = function () {
return "_classic";
};
// should pass
const result = z.string()._classic();
expect(result).toBe("_classic");
// expectTypeOf<typeof result>().toEqualTypeOf<string>();
// clean up
z.ZodType.prototype._classic = undefined;
});