fix(SW-360): Added test for edit profile form

This commit is contained in:
Tobias Johansson
2024-09-16 13:27:35 +02:00
committed by Chuma McPhoy
parent 661effeefa
commit 4c1dca0ce8
9 changed files with 131 additions and 4 deletions
+7
View File
@@ -9,4 +9,11 @@ jest.mock("react-intl", () => ({
jest.mock("next/navigation", () => ({
useRouter: jest.fn(),
usePathname: jest.fn().mockReturnValue("/"),
useParams: jest.fn().mockReturnValue({ lang: "en" }),
}))
jest.mock("@/lib/trpc/client", () => ({
trpc: {
useUtils: jest.fn(),
},
}))