UNPKG

@aashari/mcp-server-atlassian-bitbucket

Version:

Node.js/TypeScript MCP server for Atlassian Bitbucket. Enables AI systems (LLMs) to interact with workspaces, repositories, and pull requests via tools (list, get, comment, search). Connects AI directly to version control workflows through the standard MC

37 lines (36 loc) 1.21 kB
"use strict"; /** * 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; });