mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-04 14:40:45 +00:00
Merge branch 'main' into fix/pr2371-btw-complete
This commit is contained in:
commit
905f2c3f36
108 changed files with 5064 additions and 965 deletions
|
|
@ -268,7 +268,7 @@ describe('AppContainer State Management', () => {
|
|||
// Mock config's getTargetDir to return consistent workspace directory
|
||||
vi.spyOn(mockConfig, 'getTargetDir').mockReturnValue('/test/workspace');
|
||||
|
||||
// Mock GeminiClient to prevent unhandled errors from TaskTool.refreshSubagents
|
||||
// Mock GeminiClient to prevent unhandled errors from AgentTool.refreshSubagents
|
||||
const mockGeminiClient: Partial<GeminiClient> = {
|
||||
initialize: vi.fn().mockResolvedValue(undefined),
|
||||
setTools: vi.fn().mockResolvedValue(undefined),
|
||||
|
|
@ -278,7 +278,7 @@ describe('AppContainer State Management', () => {
|
|||
mockGeminiClient as GeminiClient,
|
||||
);
|
||||
|
||||
// Mock SubagentManager to prevent errors during TaskTool initialization
|
||||
// Mock SubagentManager to prevent errors during AgentTool initialization
|
||||
const mockSubagentManager: Partial<SubagentManager> = {
|
||||
listSubagents: vi.fn().mockResolvedValue([]),
|
||||
addChangeListener: vi.fn(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue