mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
Remove unnecessary promiuse usage. (#6585)
This commit is contained in:
committed by
GitHub
parent
1244ec6954
commit
0cc2a1e7ef
@@ -89,7 +89,7 @@ describe('getEnvironmentContext', () => {
|
||||
}),
|
||||
getFileService: vi.fn(),
|
||||
getFullContext: vi.fn().mockReturnValue(false),
|
||||
getToolRegistry: vi.fn().mockResolvedValue(mockToolRegistry),
|
||||
getToolRegistry: vi.fn().mockReturnValue(mockToolRegistry),
|
||||
};
|
||||
|
||||
vi.mocked(getFolderStructure).mockResolvedValue('Mock Folder Structure');
|
||||
|
||||
Reference in New Issue
Block a user