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

Commit 549a9b0

Browse files
Sannidhyadaniel-lxs
authored andcommitted
fix: rename unused onValueChange parameters in test mocks
1 parent 0c9e8c2 commit 549a9b0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

webview-ui/src/components/settings/__tests__/SettingsView.change-detection.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ vi.mock("@src/components/ui", () => ({
6161
DialogDescription: ({ children }: any) => <div data-testid="dialog-description">{children}</div>,
6262
DialogFooter: ({ children }: any) => <div data-testid="dialog-footer">{children}</div>,
6363
// Add Select components (used by CreateSkillDialog)
64-
Select: ({ children, value, onValueChange }: any) => (
64+
Select: ({ children, value, onValueChange: _onValueChange }: any) => (
6565
<div data-testid="select" data-value={value}>
6666
{children}
6767
</div>

webview-ui/src/components/settings/__tests__/SettingsView.unsaved-changes.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ vi.mock("@src/components/ui", () => ({
6262
DialogDescription: ({ children }: any) => <div data-testid="dialog-description">{children}</div>,
6363
DialogFooter: ({ children }: any) => <div data-testid="dialog-footer">{children}</div>,
6464
// Add Select components (used by CreateSkillDialog)
65-
Select: ({ children, value, onValueChange }: any) => (
65+
Select: ({ children, value, onValueChange: _onValueChange }: any) => (
6666
<div data-testid="select" data-value={value}>
6767
{children}
6868
</div>

0 commit comments

Comments
 (0)