mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-09 13:21:42 +00:00
tests: align dropdown-hint + wrap expectations with arrows-everywhere menus
This commit is contained in:
parent
e1edbb0e89
commit
fb30ff218d
2 changed files with 2 additions and 2 deletions
|
|
@ -228,7 +228,7 @@ describe('App render (Phase 1, themed)', () => {
|
|||
|
||||
expect(frame).toContain('/compact') // candidate
|
||||
expect(frame).toContain('compress context') // its meta
|
||||
expect(frame).toContain('Tab complete') // dropdown hint
|
||||
expect(frame).toContain('↑/↓ select') // dropdown hint (arrows on every menu)
|
||||
})
|
||||
|
||||
test('the empty transcript shows the home hint (item 12)', async () => {
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ describe('routeMenuKey — key-routing precedence table', () => {
|
|||
// glitch 2026-06-10: ANY open menu owns plain arrows/Enter (path/arg menus
|
||||
// navigate like the slash menu; Esc hands the cursor keys back).
|
||||
['Down on a path menu moves', 'down', false, ctx({ slashMenu: false }), { kind: 'move', selected: 1 }],
|
||||
['Up on a path menu moves (wraps)', 'up', false, ctx({ slashMenu: false }), { kind: 'move', selected: 2 }],
|
||||
['Up on a path menu moves (wraps)', 'up', false, ctx({ slashMenu: false }), { kind: 'move', selected: 3 }],
|
||||
[
|
||||
'Enter on a path menu accepts the highlighted item',
|
||||
'return',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue