test(cleanup): fix pre-existing test mocks and data

This commit is contained in:
stock-manager-bot
2026-06-25 19:50:02 +02:00
parent 18e274ef37
commit 44565e3a62
3 changed files with 24 additions and 17 deletions
@@ -59,6 +59,9 @@ vi.mock("next/navigation", () => ({
useRouter: () => ({
push: mocks.push,
}),
useSearchParams: () => ({
get: vi.fn(() => null),
}),
}))
vi.mock("sonner", () => ({