fmt(js): npm run fix on merge (#89070)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a1682376ca
commit
7cae03b8c0
@@ -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(),
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user