test(ui): declare access profiles host feature

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-08-22 20:12:09 +00:00
1 parent fce1281894
commit 35d6a115eb
1 file changed
+4
+4
View File
@@ -22,6 +22,10 @@ const mockToolsApi = vi.hoisted(() => ({
vi.mock("../api/tools", () => ({ toolsApi: mockToolsApi }));
vi.mock("../context/RuntimeFeaturesContext", () => ({
useRuntimeFeatures: () => ({ hasFeature: () => true }),
}));
// Render the company-aware Link as a plain anchor so we don't need a Router.
vi.mock("@/lib/router", () => ({
Link: ({ to, children, ...rest }: { to: string; children: unknown }) =>