fmt(js): npm run fix on merge (#67258)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
nousbot-eng 2026-07-18 22:27:32 -04:00 committed by GitHub
parent 8e9c176117
commit 19bf16c4da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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' }))