summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/AuthDialog.test.tsx
diff options
context:
space:
mode:
authorMiguel Solorio <[email protected]>2025-07-17 15:51:42 -0700
committerGitHub <[email protected]>2025-07-17 22:51:42 +0000
commit5b7bf74d66645163db14e6f1f7aea1f31d8b5f8a (patch)
tree81997804659dc551d9c9cb3fbb9c719166612f33 /packages/cli/src/ui/components/AuthDialog.test.tsx
parent6aac93ee075757fcb0b840012ff0abf0b17feea1 (diff)
Add numbers to selection list (#4320)
Diffstat (limited to 'packages/cli/src/ui/components/AuthDialog.test.tsx')
-rw-r--r--packages/cli/src/ui/components/AuthDialog.test.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/cli/src/ui/components/AuthDialog.test.tsx b/packages/cli/src/ui/components/AuthDialog.test.tsx
index 2850762f..b737b2f7 100644
--- a/packages/cli/src/ui/components/AuthDialog.test.tsx
+++ b/packages/cli/src/ui/components/AuthDialog.test.tsx
@@ -165,7 +165,7 @@ describe('AuthDialog', () => {
);
// This is a bit brittle, but it's the best way to check which item is selected.
- expect(lastFrame()).toContain('● Login with Google');
+ expect(lastFrame()).toContain('● 1. Login with Google');
});
it('should fall back to default if GEMINI_DEFAULT_AUTH_TYPE is not set', () => {
@@ -188,7 +188,7 @@ describe('AuthDialog', () => {
);
// Default is LOGIN_WITH_GOOGLE
- expect(lastFrame()).toContain('● Login with Google');
+ expect(lastFrame()).toContain('● 1. Login with Google');
});
it('should show an error and fall back to default if GEMINI_DEFAULT_AUTH_TYPE is invalid', () => {
@@ -217,7 +217,7 @@ describe('AuthDialog', () => {
);
// Default is LOGIN_WITH_GOOGLE
- expect(lastFrame()).toContain('● Login with Google');
+ expect(lastFrame()).toContain('● 1. Login with Google');
});
});