From 19bf16c4da6cf9a5156b42ce7b828811f81de0cb Mon Sep 17 00:00:00 2001 From: nousbot-eng Date: Sat, 18 Jul 2026 22:27:32 -0400 Subject: [PATCH] fmt(js): `npm run fix` on merge (#67258) Co-authored-by: github-actions[bot] --- .../hooks/use-session-list-actions.test.tsx | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/app/session/hooks/use-session-list-actions.test.tsx b/apps/desktop/src/app/session/hooks/use-session-list-actions.test.tsx index f4914e081543..0c85d59d0b78 100644 --- a/apps/desktop/src/app/session/hooks/use-session-list-actions.test.tsx +++ b/apps/desktop/src/app/session/hooks/use-session-list-actions.test.tsx @@ -2,7 +2,16 @@ import { act, renderHook } from '@testing-library/react' import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' import type { SessionInfo, SidebarSessionsResponse } from '@/hermes' -import { $cronSessions, $messagingSessions, $sessions, $sessionsLoading, setCronSessions, setMessagingSessions, setSessions, setSessionsLoading } from '@/store/session' +import { + $cronSessions, + $messagingSessions, + $sessions, + $sessionsLoading, + setCronSessions, + setMessagingSessions, + setSessions, + setSessionsLoading +} from '@/store/session' import { useSessionListActions } from './use-session-list-actions' @@ -159,7 +168,9 @@ describe('refreshSessions batches slices into one request', () => { const cron = [row('c1', { source: 'cron', title: 'nightly' })] const messaging = [row('m1', { source: 'telegram', title: 'tg chat' })] - listSidebarSessions.mockResolvedValue(sidebar({ sessions: recents, total: 2, profile_totals: { default: 2 } }, cron, messaging)) + listSidebarSessions.mockResolvedValue( + sidebar({ sessions: recents, total: 2, profile_totals: { default: 2 } }, cron, messaging) + ) const { result } = renderHook(() => useSessionListActions({ profileScope: 'default' }))