UNPKG

peezy-cli

Version:

Production-ready CLI for scaffolding modern applications with curated full-stack templates, intelligent migrations, and enterprise security.

15 lines 625 B
import { describe, it, expect, beforeEach, jest } from "@jest/globals"; // Provide a minimal Vitest-compatible shim backed by Jest const vi = Object.assign(Object.create(null), { fn: ((impl) => { if (impl) return jest.fn(impl); // Default mock implementation returns a successful minimal fetch-like response return jest.fn(async () => ({ ok: true, json: async () => [] })); }), mock: jest.mock.bind(jest), spyOn: jest.spyOn.bind(jest), clearAllMocks: jest.clearAllMocks.bind(jest), }); export { describe, it, expect, beforeEach, vi }; //# sourceMappingURL=vitest.js.map