From 6f7f6c59d43949a4414b27c0caad2af001c2cfb1 Mon Sep 17 00:00:00 2001 From: Eva Decker Date: Fri, 29 Nov 2024 20:35:46 -0500 Subject: [PATCH] Revert test setup change --- vitest.setup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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