Added unit tests for posthog-llm.tool.ts - minor cleanup
This commit is contained in:
@@ -18,10 +18,6 @@ jest.mock('../utils/error.util.js');
|
|||||||
jest.mock('../controllers/posthog-llm.controller.js');
|
jest.mock('../controllers/posthog-llm.controller.js');
|
||||||
jest.mock('../types/posthog-llm.types.js');
|
jest.mock('../types/posthog-llm.types.js');
|
||||||
|
|
||||||
// Mock the capturePosthogLlmObservability function since it's not exported
|
|
||||||
// We'll need to access it through the server.tool registration
|
|
||||||
const mockCapturePosthogLlmObservability = jest.fn();
|
|
||||||
|
|
||||||
// Mock MCP Server
|
// Mock MCP Server
|
||||||
const mockMcpServer = {
|
const mockMcpServer = {
|
||||||
tool: jest.fn(),
|
tool: jest.fn(),
|
||||||
|
|||||||
Reference in New Issue
Block a user