From 7cae03b8c02542ca2a9b95d7cd3c02b71010f796 Mon Sep 17 00:00:00 2001 From: "hermes-seaeye[bot]" <307254004+hermes-seaeye[bot]@users.noreply.github.com> Date: Tue, 18 Aug 2026 09:33:57 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge (#89070) Co-authored-by: github-actions[bot] --- .../desktop/src/app/chat/sidebar/profile-rail-connect.test.tsx | 3 ++- apps/desktop/src/app/profiles/index.test.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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()