Revert "Release 0.13.0"
This commit is contained in:
@@ -144,11 +144,11 @@ jest.mock('../../../mcp-server/src/core/utils/path-utils.js', () => ({
|
||||
}));
|
||||
|
||||
// Mock the AI module to prevent any real API calls
|
||||
jest.mock('../../../scripts/modules/ai-services-unified.js', () => ({
|
||||
// Mock the functions exported by ai-services-unified.js as needed
|
||||
// For example, if you are testing a function that uses generateTextService:
|
||||
generateTextService: jest.fn().mockResolvedValue('Mock AI Response')
|
||||
// Add other mocks for generateObjectService, streamTextService if used
|
||||
jest.mock('../../../scripts/modules/ai-services.js', () => ({
|
||||
getAnthropicClient: mockGetAnthropicClient,
|
||||
getConfiguredAnthropicClient: mockGetConfiguredAnthropicClient,
|
||||
_handleAnthropicStream: mockHandleAnthropicStream,
|
||||
parseSubtasksFromText: mockParseSubtasksFromText
|
||||
}));
|
||||
|
||||
// Mock task-manager.js to avoid real operations
|
||||
|
||||
Reference in New Issue
Block a user