We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c37ccab commit 627b689Copy full SHA for 627b689
vitest.setup.ts
@@ -47,6 +47,6 @@ vi.mock("@/lib/auth/auth-client", () => ({
47
import { afterEach } from "vitest";
48
49
afterEach(() => {
50
+ // Clear calls/instances, but keep hoisted module mock implementations intact
51
vi.clearAllMocks();
- vi.resetAllMocks();
52
});
0 commit comments