mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 14:10:37 -07:00
fix(ui): Fix and unskip InputPrompt tests (#11700)
This commit is contained in:
@@ -1581,8 +1581,9 @@ describe('InputPrompt', () => {
|
||||
await vi.runAllTimersAsync();
|
||||
|
||||
// Simulate a paste operation (this should set the paste protection)
|
||||
stdin.write(`\x1b[200~pasted content\x1b[201~`);
|
||||
await vi.runAllTimersAsync();
|
||||
act(() => {
|
||||
stdin.write(`\x1b[200~pasted content\x1b[201~`);
|
||||
});
|
||||
|
||||
// Simulate an Enter key press immediately after paste
|
||||
stdin.write('\r');
|
||||
@@ -2073,7 +2074,7 @@ describe('InputPrompt', () => {
|
||||
unmount();
|
||||
});
|
||||
|
||||
it.skip('expands and collapses long suggestion via Right/Left arrows', async () => {
|
||||
it('expands and collapses long suggestion via Right/Left arrows', async () => {
|
||||
props.shellModeActive = false;
|
||||
const longValue = 'l'.repeat(200);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user