mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-04 02:21:47 +00:00
test(tui): cover live todo completion flow
This commit is contained in:
parent
f5552f92e2
commit
a5319fb7af
2 changed files with 14 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ import { describe, expect, it } from 'vitest'
|
|||
import { liveTailOrder } from './liveLayout.js'
|
||||
|
||||
describe('liveTailOrder', () => {
|
||||
it('keeps todo before transcript and assistant live output', () => {
|
||||
expect(liveTailOrder()).toEqual(['todo', 'scroll-history', 'assistant'])
|
||||
it('anchors live todo after scroll history and assistant output', () => {
|
||||
expect(liveTailOrder()).toEqual(['scroll-history', 'assistant', 'live-todo'])
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue