UNPKG

@ithena-one/mcp-governance

Version:

Governance layer (Identity, RBAC, Credentials, Audit, Logging, Tracing) for Model Context Protocol (MCP) servers.

11 lines 517 B
// src/core/__mocks__/governance-pipeline.ts import { jest } from '@jest/globals'; const mockPipelineInstance = { executeRequestPipeline: jest.fn().mockResolvedValue({ mockedResult: true }), // Default success executeNotificationPipeline: jest.fn().mockResolvedValue(undefined), }; const GovernancePipeline = jest.fn().mockImplementation(() => { return mockPipelineInstance; }); export { GovernancePipeline, mockPipelineInstance }; // Explicitly export both //# sourceMappingURL=governance-pipeline.js.map