Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#121304)

hermes-seaeye[bot]76c5bdcc9d4d
diff --git a/apps/desktop/src/app/chat/composer/model-pill.test.tsx b/apps/desktop/src/app/chat/composer/model-pill.test.tsx
index 35caad92989..c25667a8276 100644
--- a/apps/desktop/src/app/chat/composer/model-pill.test.tsx
+++ b/apps/desktop/src/app/chat/composer/model-pill.test.tsx
@@ -194,6 +194,7 @@ describe('ModelPill label providers', () => {
const label = vi.fn(
({ model, reasoningEffort }: ComposerModelPillContext) => `${model} · ${reasoningEffort || 'none'}`
)
+
register(label)
const { unmount } = render(
diff --git a/apps/desktop/src/plugins/kanban/drawer.test.tsx b/apps/desktop/src/plugins/kanban/drawer.test.tsx
index 526b0aabe40..cadffd8c6c3 100644
--- a/apps/desktop/src/plugins/kanban/drawer.test.tsx
+++ b/apps/desktop/src/plugins/kanban/drawer.test.tsx
@@ -123,7 +123,10 @@ describe('task attachment compatibility', () => {
const save = vi.fn().mockResolvedValue({ saved: true })
vi.stubGlobal('hermesDesktop', { saveGatewayFile: save })
setApiRequestConnection('local')
- detail = { ...legacyDetail, attachments: [{ id: 7, filename: 'notes.txt', stored_path: '/home/me/.hermes/kanban/notes.txt' }] }
+ detail = {
+ ...legacyDetail,
+ attachments: [{ id: 7, filename: 'notes.txt', stored_path: '/home/me/.hermes/kanban/notes.txt' }]
+ }
openDrawer()
const download = await screen.findByRole('button', { name: 'Download notes.txt' })
setApiRequestConnection('remote-host')
@@ -152,7 +155,11 @@ describe('task attachment compatibility', () => {
const button = await screen.findByRole('button', { name: 'Download gone.md' })
fireEvent.click(button)
await waitFor(() =>
- expect($notifications.get()[0]).toMatchObject({ kind: 'error', message: 'File not found', title: 'Download failed' })
+ expect($notifications.get()[0]).toMatchObject({
+ kind: 'error',
+ message: 'File not found',
+ title: 'Download failed'
+ })
)
await waitFor(() => expect((button as HTMLButtonElement).disabled).toBe(false))
save.mockResolvedValueOnce({ saved: true })