@aashari/mcp-server-atlassian-confluence
Version:
Node.js/TypeScript MCP server for Atlassian Confluence. Provides tools enabling AI systems (LLMs) to list/get spaces & pages (content formatted as Markdown) and search via CQL. Connects AI seamlessly to Confluence knowledge bases using the standard MCP in
37 lines (36 loc) • 1.21 kB
JavaScript
;
/**
* Jest global setup for suppressing console output during tests
* This file is used to mock console methods to reduce noise in test output
*/
Object.defineProperty(exports, "__esModule", { value: true });
const globals_1 = require("@jest/globals");
// Store original console methods
const originalConsole = {
log: console.log,
info: console.info,
warn: console.warn,
error: console.error,
debug: console.debug,
};
// Global setup to suppress console output during tests
(0, globals_1.beforeEach)(() => {
// Mock console methods to suppress output
console.log = globals_1.jest.fn();
console.info = globals_1.jest.fn();
console.warn = globals_1.jest.fn();
console.error = globals_1.jest.fn();
console.debug = globals_1.jest.fn();
});
(0, globals_1.afterEach)(() => {
// Clear mock calls after each test
globals_1.jest.clearAllMocks();
});
(0, globals_1.afterAll)(() => {
// Restore original console methods after all tests
console.log = originalConsole.log;
console.info = originalConsole.info;
console.warn = originalConsole.warn;
console.error = originalConsole.error;
console.debug = originalConsole.debug;
});