Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

test(web): drop unused mocks from search menu test

Kyle J. Fischerb345ea951e0c
diff --git a/apps/web/src/components/search-command-menu/index.test.tsx b/apps/web/src/components/search-command-menu/index.test.tsx
index a8ac51af6..8eff82548 100644
--- a/apps/web/src/components/search-command-menu/index.test.tsx
+++ b/apps/web/src/components/search-command-menu/index.test.tsx
@@ -24,14 +24,6 @@ const searchResults = {
],
};
-vi.mock("react-i18next", () => ({
- useTranslation: () => ({ t: (key: string) => key }),
-}));
-
-vi.mock("@tanstack/react-router", () => ({
- useNavigate: () => vi.fn(),
-}));
-
vi.mock("@/hooks/queries/search/use-global-search", () => ({
default: () => ({ data: searchResults }),
}));