Skip to main content
Glama
setup.ts601 B
// Jest Setup File // Configure test environment and global settings import { config } from 'dotenv'; // Load environment variables from .env file if it exists config(); // Set test timeout for longer-running API tests jest.setTimeout(30000); // Global test setup beforeAll(() => { // Suppress console.log during tests unless explicitly testing logging if (process.env.NODE_ENV === 'test' && !process.env.VERBOSE_TESTS) { console.log = jest.fn(); console.warn = jest.fn(); console.error = jest.fn(); } }); // Global test cleanup afterAll(() => { // Any cleanup operations });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/asachs01/autotask-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server