mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-04 02:21:47 +00:00
test(tui): tighten redraw hotkey review follow-ups
Use explicit repaint patch semantics for Ctrl/Cmd+L and narrow the hotkey assertion to the actual +L entry so unrelated descriptions do not cause false failures.
This commit is contained in:
parent
17029a64e8
commit
da6f8449a5
2 changed files with 4 additions and 3 deletions
|
|
@ -27,8 +27,9 @@ describe('constants', () => {
|
|||
})
|
||||
|
||||
it('documents Ctrl/Cmd+L as non-destructive redraw', () => {
|
||||
expect(HOTKEYS.some(([, d]) => d === 'redraw / repaint')).toBe(true)
|
||||
expect(HOTKEYS.some(([, d]) => d.includes('new session'))).toBe(false)
|
||||
const hotkey = HOTKEYS.find(([k]) => k.endsWith('+L'))
|
||||
expect(hotkey).toBeDefined()
|
||||
expect(hotkey?.[1]).toBe('redraw / repaint')
|
||||
})
|
||||
|
||||
it('TOOL_VERBS maps known tools (verb-only, no emoji)', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue