Skip to content

The agent that grows with you

style(desktop): curly + import order in the two round-6 tests (repo eslint config)

teknium194e170a780a5
diff --git a/apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/input-requests.test.ts b/apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/input-requests.test.ts
index 295021096b4..6a00783a123 100644
--- a/apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/input-requests.test.ts
+++ b/apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/input-requests.test.ts
@@ -1,7 +1,7 @@
import { afterEach, describe, expect, it, vi } from 'vitest'
-import { $activeSessionId } from '@/store/session'
import { $sudoRequest, clearSudoRequest } from '@/store/prompts'
+import { $activeSessionId } from '@/store/session'
import { handleInputRequestEvent } from './input-requests'
import type { GatewayEventContext } from './types'
diff --git a/apps/desktop/src/plugins/hermes-bots/screen-pane-lifecycle.test.tsx b/apps/desktop/src/plugins/hermes-bots/screen-pane-lifecycle.test.tsx
index 973466956c0..aa57364cdd5 100644
--- a/apps/desktop/src/plugins/hermes-bots/screen-pane-lifecycle.test.tsx
+++ b/apps/desktop/src/plugins/hermes-bots/screen-pane-lifecycle.test.tsx
@@ -182,7 +182,9 @@ it('does not hand back while replacing a stream to reconnect the same viewer', a
// keeps it. Model that, so a pane that forgets its id visibly loses the lease it holds.
let minted = 0
vi.mocked(displayRequest).mockImplementation(async (_bot, method, params) => {
- if (method !== 'display.observe') return { ...status, ticket: 'test-ticket', viewer_id: 'this-viewer' }
+ if (method !== 'display.observe') {
+ return { ...status, ticket: 'test-ticket', viewer_id: 'this-viewer' }
+ }
const presented = (params as { viewer_id?: string } | undefined)?.viewer_id
const viewer_id = presented === 'this-viewer' ? 'this-viewer' : minted++ === 0 ? 'this-viewer' : 'replacement-viewer'
return { ...status, ticket: 'test-ticket', viewer_id }