style: 完成所有文件的lint

This commit is contained in:
claude-code-best
2026-05-01 21:39:30 +08:00
parent d136872cc9
commit 6182015005
1333 changed files with 68255 additions and 77882 deletions

View File

@@ -56,12 +56,22 @@ describe('Confirmation context — n/y keys removed (fix: 修复 n 快捷键导
})
test('pressing Enter in Confirmation context resolves to confirm:yes', () => {
const result = resolveKey('', makeKey({ return: true }), ['Confirmation'], bindings)
const result = resolveKey(
'',
makeKey({ return: true }),
['Confirmation'],
bindings,
)
expect(result).toEqual({ type: 'match', action: 'confirm:yes' })
})
test('pressing Escape in Confirmation context resolves to confirm:no', () => {
const result = resolveKey('', makeKey({ escape: true }), ['Confirmation'], bindings)
const result = resolveKey(
'',
makeKey({ escape: true }),
['Confirmation'],
bindings,
)
expect(result).toEqual({ type: 'match', action: 'confirm:no' })
})