diff --git a/webview-ui/src/components/settings/__tests__/ApiOptions.test.tsx b/webview-ui/src/components/settings/__tests__/ApiOptions.test.tsx
index 364e57a715..008c5819db 100644
--- a/webview-ui/src/components/settings/__tests__/ApiOptions.test.tsx
+++ b/webview-ui/src/components/settings/__tests__/ApiOptions.test.tsx
@@ -35,6 +35,31 @@ jest.mock("vscrui", () => ({
Pane: ({ children }: any) =>
{children}
,
}))
+// Mock @shadcn/ui components
+jest.mock("@/components/ui", () => ({
+ Select: ({ children, value, onValueChange }: any) => (
+
+
+
+ ),
+ SelectTrigger: ({ children }: any) => {children}
,
+ SelectValue: ({ children }: any) => {children}
,
+ SelectContent: ({ children }: any) => {children}
,
+ SelectGroup: ({ children }: any) => {children}
,
+ SelectItem: ({ children, value }: any) => (
+
+ ),
+ Button: ({ children, onClick }: any) => (
+
+ ),
+}))
+
jest.mock("../TemperatureControl", () => ({
TemperatureControl: ({ value, onChange }: any) => (