Skip to content

Commit 38e41c4

Browse files
committed
More test fixes
1 parent 2e9c56a commit 38e41c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

webview-ui/src/components/settings/__tests__/ProfileSwitcher.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jest.mock("@/components/ui", () => ({
7171

7272
// We don't need a separate mock for Dialog components since they're already mocked in the UI components mock
7373

74-
describe("ApiConfigManager", () => {
74+
describe("ProfileSwitcher", () => {
7575
const mockOnSelectConfig = jest.fn()
7676
const mockOnDeleteConfig = jest.fn()
7777
const mockOnRenameConfig = jest.fn()

webview-ui/src/components/settings/__tests__/SettingsView.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jest.mock("lucide-react", () => {
2828
)
2929
})
3030

31-
// Mock ApiConfigManager component
32-
jest.mock("../ApiConfigManager", () => ({
31+
// Mock ProfileSwitcher component
32+
jest.mock("../ProfileSwitcher", () => ({
3333
__esModule: true,
3434
default: ({ currentApiConfigName }: any) => (
3535
<div data-testid="api-config-management">

0 commit comments

Comments
 (0)