We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7932ba commit 92a192aCopy full SHA for 92a192a
src/__tests__/auth.test.ts
@@ -11,9 +11,9 @@ import { cleanupDatabase } from "./helpers/testDb";
11
12
// Mock Clerk SDK
13
// eslint-disable-next-line @typescript-eslint/no-explicit-any
14
-const mockGetUser = jest.fn<any, any>();
+const mockGetUser = jest.fn() as jest.Mock<any>;
15
16
-const mockVerifyToken = jest.fn<any, any>();
+const mockVerifyToken = jest.fn() as jest.Mock<any>;
17
18
jest.mock("@clerk/backend", () => ({
19
verifyToken: (...args: unknown[]) => mockVerifyToken(...args),
0 commit comments