mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 20:20:57 +00:00
Add numbers to selection list (#4320)
This commit is contained in:
parent
6aac93ee07
commit
5b7bf74d66
5 changed files with 255 additions and 16 deletions
|
|
@ -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');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue