Add numbers to selection list (#4320)

This commit is contained in:
Miguel Solorio
2025-07-17 15:51:42 -07:00
committed by GitHub
parent 6aac93ee07
commit 5b7bf74d66
5 changed files with 255 additions and 16 deletions

View File

@@ -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');
});
});