mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 12:11:09 +00:00
fix: unable to quit when auth dialog is opened (#804)
This commit is contained in:
parent
40810945e0
commit
a779d44b38
4 changed files with 23 additions and 16 deletions
|
|
@ -81,7 +81,7 @@ describe('QwenOAuthProgress', () => {
|
|||
const output = lastFrame();
|
||||
expect(output).toContain('MockSpinner(dots)');
|
||||
expect(output).toContain('Waiting for Qwen OAuth authentication...');
|
||||
expect(output).toContain('(Press ESC to cancel)');
|
||||
expect(output).toContain('(Press ESC or CTRL+C to cancel)');
|
||||
});
|
||||
|
||||
it('should render loading state with gray border', () => {
|
||||
|
|
@ -105,7 +105,7 @@ describe('QwenOAuthProgress', () => {
|
|||
expect(output).toContain('MockSpinner(dots)');
|
||||
expect(output).toContain('Waiting for authorization');
|
||||
expect(output).toContain('Time remaining: 5:00');
|
||||
expect(output).toContain('(Press ESC to cancel)');
|
||||
expect(output).toContain('(Press ESC or CTRL+C to cancel)');
|
||||
});
|
||||
|
||||
it('should display correct URL in Static component when QR code is generated', async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue