Frontend Testing
Frontend Testing
Run:
cd frontend
pnpm test:run
Mocking Generated Hooks
Generated hooks can be mocked at the module level.
Example shape:
import { vi } from "vitest";
vi.mock("@/generated/api/billing/billing", () => ({
useSubscriptionSummary: vi.fn(),
}));
Last updated June 21, 2026