style(tui): apply formatter

This commit is contained in:
Brooklyn Nicholson 2026-04-26 01:48:10 -05:00
parent db4e4acca0
commit 14fcff60c9
4 changed files with 11 additions and 7 deletions

View file

@ -311,9 +311,7 @@ describe('createSlashHandler', () => {
expect(rpc).toHaveBeenCalledWith('session.save', { session_id: 'sid-abc' })
await vi.waitFor(() => {
expect(ctx.transcript.sys).toHaveBeenCalledWith(
'conversation saved to: /tmp/hermes_conversation_test.json'
)
expect(ctx.transcript.sys).toHaveBeenCalledWith('conversation saved to: /tmp/hermes_conversation_test.json')
})
})

View file

@ -25,7 +25,14 @@ describe('viewportStore', () => {
const snap = getViewportSnapshot(handle as any)
expect(snap).toMatchObject({ atBottom: false, bottom: 18, pending: 3, scrollHeight: 40, top: 13, viewportHeight: 5 })
expect(snap).toMatchObject({
atBottom: false,
bottom: 18,
pending: 3,
scrollHeight: 40,
top: 13,
viewportHeight: 5
})
expect(viewportSnapshotKey(snap)).toBe('0:13:5:40:3')
})
})