mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-26 04:54:25 -07:00
revert file change
This commit is contained in:
@@ -268,8 +268,8 @@ describe('AskUserDialog', () => {
|
|||||||
expect(lastFrame()).not.toContain('▼');
|
expect(lastFrame()).not.toContain('▼');
|
||||||
}
|
}
|
||||||
await waitUntilReady();
|
await waitUntilReady();
|
||||||
|
expect(lastFrame()).toMatchSnapshot();
|
||||||
});
|
});
|
||||||
expect(lastFrame()).toMatchSnapshot();
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
@@ -569,9 +569,8 @@ describe('AskUserDialog', () => {
|
|||||||
|
|
||||||
await waitFor(async () => {
|
await waitFor(async () => {
|
||||||
await waitUntilReady();
|
await waitUntilReady();
|
||||||
expect(lastFrame()).toContain('Review your answers:');
|
expect(lastFrame()).toMatchSnapshot();
|
||||||
});
|
});
|
||||||
expect(lastFrame()).toMatchSnapshot();
|
|
||||||
|
|
||||||
writeKey(stdin, '\x1b[D'); // Left arrow back
|
writeKey(stdin, '\x1b[D'); // Left arrow back
|
||||||
|
|
||||||
@@ -615,9 +614,8 @@ describe('AskUserDialog', () => {
|
|||||||
|
|
||||||
await waitFor(async () => {
|
await waitFor(async () => {
|
||||||
await waitUntilReady();
|
await waitUntilReady();
|
||||||
expect(lastFrame()).toContain('Review your answers:');
|
expect(lastFrame()).toMatchSnapshot();
|
||||||
});
|
});
|
||||||
expect(lastFrame()).toMatchSnapshot();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('submits with unanswered questions when user confirms on Review', async () => {
|
it('submits with unanswered questions when user confirms on Review', async () => {
|
||||||
@@ -1311,9 +1309,8 @@ describe('AskUserDialog', () => {
|
|||||||
|
|
||||||
await waitFor(async () => {
|
await waitFor(async () => {
|
||||||
await waitUntilReady();
|
await waitUntilReady();
|
||||||
expect(lastFrame()).toContain('Type another language...');
|
expect(lastFrame()).toMatchSnapshot();
|
||||||
});
|
});
|
||||||
expect(lastFrame()).toMatchSnapshot();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('uses default placeholder when not provided', async () => {
|
it('uses default placeholder when not provided', async () => {
|
||||||
@@ -1346,9 +1343,8 @@ describe('AskUserDialog', () => {
|
|||||||
|
|
||||||
await waitFor(async () => {
|
await waitFor(async () => {
|
||||||
await waitUntilReady();
|
await waitUntilReady();
|
||||||
expect(lastFrame()).toContain('Enter a custom value');
|
expect(lastFrame()).toMatchSnapshot();
|
||||||
});
|
});
|
||||||
expect(lastFrame()).toMatchSnapshot();
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -251,9 +251,8 @@ Implement a comprehensive authentication system with multiple providers.
|
|||||||
}
|
}
|
||||||
|
|
||||||
await waitFor(() => {
|
await waitFor(() => {
|
||||||
expect(lastFrame()).toContain('Add tests');
|
expect(lastFrame()).toMatchSnapshot();
|
||||||
});
|
});
|
||||||
expect(lastFrame()).toMatchSnapshot();
|
|
||||||
|
|
||||||
writeKey(stdin, '\r');
|
writeKey(stdin, '\r');
|
||||||
|
|
||||||
@@ -470,9 +469,8 @@ Implement a comprehensive authentication system with multiple providers.
|
|||||||
writeKey(stdin, '\x03'); // Ctrl+C
|
writeKey(stdin, '\x03'); // Ctrl+C
|
||||||
|
|
||||||
await waitFor(() => {
|
await waitFor(() => {
|
||||||
expect(lastFrame()).toContain('Type your feedback...');
|
expect(lastFrame()).toMatchSnapshot();
|
||||||
});
|
});
|
||||||
expect(lastFrame()).toMatchSnapshot();
|
|
||||||
expect(onBubbledQuit).not.toHaveBeenCalled();
|
expect(onBubbledQuit).not.toHaveBeenCalled();
|
||||||
|
|
||||||
// Second Ctrl+C to exit (should bubble)
|
// Second Ctrl+C to exit (should bubble)
|
||||||
|
|||||||
Reference in New Issue
Block a user