mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-22 01:37:50 +00:00
Add unit tests for CLI modules and fix ESLint issues
- Add comprehensive unit tests for all CLI-related modules: - CliContextManager - CliVersionManager - cliDetector - CliInstaller - Fix ESLint issues by replacing @ts-ignore with @ts-expect-error - Fix any type issues in test files - Add tests for diff-manager functionality - Improve loading messages random selection stability 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,7 @@ import { AcpConnection } from '../acp/acpConnection.js';
|
||||
import type {
|
||||
AcpSessionUpdate,
|
||||
AcpPermissionRequest,
|
||||
} from '../shared/acpTypes.js';
|
||||
} from '../constants/acpTypes.js';
|
||||
import {
|
||||
QwenSessionReader,
|
||||
type QwenSession,
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* Handles session updates from ACP and dispatches them to appropriate callbacks
|
||||
*/
|
||||
|
||||
import type { AcpSessionUpdate } from '../shared/acpTypes.js';
|
||||
import type { AcpSessionUpdate } from '../constants/acpTypes.js';
|
||||
import type { QwenAgentCallbacks } from './qwenTypes.js';
|
||||
|
||||
/**
|
||||
|
||||
@@ -3,14 +3,7 @@
|
||||
* Copyright 2025 Qwen Team
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Qwen Agent Manager Type Definitions
|
||||
*
|
||||
* Contains all related interfaces and type definitions
|
||||
*/
|
||||
|
||||
import type { AcpPermissionRequest } from '../shared/acpTypes.js';
|
||||
import type { AcpPermissionRequest } from '../constants/acpTypes.js';
|
||||
|
||||
/**
|
||||
* Chat Message
|
||||
|
||||
Reference in New Issue
Block a user