|
@@ -1914,10 +1914,11 @@ describe('pi-tui chat lifecycle and transcript', () => {
|
|
|
expect(result.terminal.output).toContain('Folder · docs/')
|
|
expect(result.terminal.output).toContain('Folder · docs/')
|
|
|
})
|
|
})
|
|
|
result.terminal.send('\t')
|
|
result.terminal.send('\t')
|
|
|
|
|
+ result.terminal.output = ''
|
|
|
|
|
+ result.terminal.send('\t')
|
|
|
await vi.waitFor(() => {
|
|
await vi.waitFor(() => {
|
|
|
- expect(result.terminal.output).toContain('File · design notes.md')
|
|
|
|
|
|
|
+ expect(result.terminal.output).toContain('@"docs/design notes.md"')
|
|
|
})
|
|
})
|
|
|
- result.terminal.send('\t')
|
|
|
|
|
await tick()
|
|
await tick()
|
|
|
result.terminal.send('\r')
|
|
result.terminal.send('\r')
|
|
|
await vi.waitFor(() => { expect(result.agent.sent).toHaveLength(2) })
|
|
await vi.waitFor(() => { expect(result.agent.sent).toHaveLength(2) })
|