mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
feat(auth): Enhance OAuth callback for robust Docker support (#3532)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
This commit is contained in:
@@ -105,7 +105,7 @@ describe('oauth2', () => {
|
||||
|
||||
let capturedPort = 0;
|
||||
const mockHttpServer = {
|
||||
listen: vi.fn((port: number, callback?: () => void) => {
|
||||
listen: vi.fn((port: number, _host: string, callback?: () => void) => {
|
||||
capturedPort = port;
|
||||
if (callback) {
|
||||
callback();
|
||||
|
||||
Reference in New Issue
Block a user