diff --git a/vitest.setup.ts b/vitest.setup.ts index 4cdc0f5..2bd3841 100644 --- a/vitest.setup.ts +++ b/vitest.setup.ts @@ -3,7 +3,7 @@ import { vi } from "vitest"; // Mock the convex mutation hook vi.mock("convex/react", () => ({ - useMutation: vi.fn(() => vi.fn().mockResolvedValue(undefined)), + useMutation: vi.fn(), })); // Mock toast notifications