Skip to main content
Glama
setup.ts340 B
/** * Jest test setup * Global test configuration and mocks */ // Mock environment variables for testing process.env.MOCO_API_KEY = 'test-api-key'; process.env.MOCO_SUBDOMAIN = 'test-company'; // Mock fetch globally for API tests global.fetch = jest.fn(); // Reset mocks before each test beforeEach(() => { jest.resetAllMocks(); });

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/niondigital/moco-mcp'

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