diff --git a/apps/desktop/src/app/chat/sidebar/profile-rail-connect.test.tsx b/apps/desktop/src/app/chat/sidebar/profile-rail-connect.test.tsx index b4b2c3ec5e..10e93f23e5 100644 --- a/apps/desktop/src/app/chat/sidebar/profile-rail-connect.test.tsx +++ b/apps/desktop/src/app/chat/sidebar/profile-rail-connect.test.tsx @@ -49,7 +49,8 @@ vi.mock('@/store/profile', () => ({ $profileScope: atom('default'), ALL_PROFILES: '*', normalizeProfileKey: (name: string) => name, - profileLabel: (profile: { display_name?: string; name: string }) => (profile.display_name ?? '').trim() || profile.name, + profileLabel: (profile: { display_name?: string; name: string }) => + (profile.display_name ?? '').trim() || profile.name, refreshActiveProfile: vi.fn().mockResolvedValue(undefined), selectProfile: vi.fn(), setProfileColor: vi.fn(), diff --git a/apps/desktop/src/app/profiles/index.test.tsx b/apps/desktop/src/app/profiles/index.test.tsx index b9dc87234f..939af89e0f 100644 --- a/apps/desktop/src/app/profiles/index.test.tsx +++ b/apps/desktop/src/app/profiles/index.test.tsx @@ -57,7 +57,8 @@ vi.mock('@/store/profile', () => ({ $activeGatewayProfile: activeGateway, $profileColors, normalizeProfileKey: (name: null | string | undefined) => (name ?? '').trim() || 'default', - profileLabel: (profile: { display_name?: string; name: string }) => (profile.display_name ?? '').trim() || profile.name, + profileLabel: (profile: { display_name?: string; name: string }) => + (profile.display_name ?? '').trim() || profile.name, refreshProfiles: vi.fn(async () => [] as ProfileInfo[]), selectProfile: vi.fn(), setActiveProfile: vi.fn()