mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-21 01:07:46 +00:00
Add numbers to selection list (#4320)
This commit is contained in:
@@ -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');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user