tests: align dropdown-hint + wrap expectations with arrows-everywhere menus

This commit is contained in:
alt-glitch 2026-06-10 22:15:12 +05:30
parent e1edbb0e89
commit fb30ff218d
2 changed files with 2 additions and 2 deletions

View file

@ -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 () => {

View file

@ -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',