Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit b16fae9

Browse files
committed
fix: add StandardTooltip mock for Anthropic custom headers UI
1 parent 49d5d38 commit b16fae9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

webview-ui/src/components/settings/__tests__/ApiOptions.provider-filtering.spec.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ vi.mock("@src/components/ui", () => ({
8080
CollapsibleContent: ({ children }: any) => <div>{children}</div>,
8181
Slider: ({ children, ...props }: any) => <div {...props}>{children}</div>,
8282
Button: ({ children, ...props }: any) => <button {...props}>{children}</button>,
83+
// Add StandardTooltip for Anthropic custom headers UI
84+
StandardTooltip: ({ children, content }: any) => <div title={content}>{children}</div>,
8385
// Add Popover components for ModelPicker
8486
Popover: ({ children }: any) => <div>{children}</div>,
8587
PopoverTrigger: ({ children }: any) => <div>{children}</div>,

0 commit comments

Comments
 (0)