mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-27 19:35:13 +01:00
test(ui): declare access profiles host feature
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
fce1281894
commit
35d6a115eb
1 file changed
+4
@@ -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 }) =>
|
||||
|
||||
Reference in new issue
Block a user