Added unit tests for posthog-llm.tool.ts - minor cleanup

This commit is contained in:
2025-07-17 11:44:58 -05:00
parent 72d55a5b40
commit 15315c687e

View File

@@ -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(),