mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-11 22:00:41 -07:00
Simplify paste handling (#16654)
This commit is contained in:
committed by
GitHub
parent
41369f67eb
commit
94d5ae541e
@@ -1465,7 +1465,7 @@ describe('InputPrompt', () => {
|
||||
await waitFor(() => {
|
||||
expect(mockBuffer.handleInput).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
paste: true,
|
||||
name: 'paste',
|
||||
sequence: 'pasted text',
|
||||
}),
|
||||
);
|
||||
@@ -1708,7 +1708,7 @@ describe('InputPrompt', () => {
|
||||
expect(props.buffer.handleInput).toHaveBeenCalledTimes(1);
|
||||
expect(props.buffer.handleInput).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
paste: true,
|
||||
name: 'paste',
|
||||
sequence: pastedText,
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user