UNPKG

@ithena-one/mcp-governance

Version:

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

15 lines 721 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.mockPipelineInstance = exports.GovernancePipeline = void 0; // src/core/__mocks__/governance-pipeline.ts const globals_1 = require("@jest/globals"); const mockPipelineInstance = { executeRequestPipeline: globals_1.jest.fn().mockResolvedValue({ mockedResult: true }), // Default success executeNotificationPipeline: globals_1.jest.fn().mockResolvedValue(undefined), }; exports.mockPipelineInstance = mockPipelineInstance; const GovernancePipeline = globals_1.jest.fn().mockImplementation(() => { return mockPipelineInstance; }); exports.GovernancePipeline = GovernancePipeline; //# sourceMappingURL=governance-pipeline.js.map