We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/BjornMelin/crawl4ai-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
setup.ts•622 B
/**
* Jest Global Setup
*
* This file contains global setup configuration for Jest tests.
*/
import { jest, afterEach } from '@jest/globals';
// Mock console methods to reduce noise in test output
// Comment these out when debugging tests
console.log = jest.fn();
console.info = jest.fn();
console.warn = jest.fn();
// Keep error logging for test debugging
// console.error = jest.fn();
// Add environment variables needed for tests
process.env.CRAWL4AI_API_KEY = 'test-api-key';
process.env.CRAWL4AI_API_URL = 'http://localhost:11235';
// Reset mocks after each test
afterEach(() => {
jest.resetAllMocks();
});