Skip to main content
Glama
zqushair
by zqushair
setup.ts658 B
/** * @jest-environment node * @jest-environment-options {"skipTests": true} */ // This file contains setup code that will be run before each test // Set up environment variables for testing process.env.FRONTAPP_API_KEY = 'test_api_key'; process.env.WEBHOOK_SECRET = 'test_webhook_secret'; process.env.WEBHOOK_BASE_URL = 'http://localhost:3000'; // Mock console methods to reduce noise in test output global.console = { ...console, log: jest.fn(), info: jest.fn(), debug: jest.fn(), // Keep error and warn for debugging error: console.error, warn: console.warn, }; // Clean up after all tests afterAll(() => { jest.clearAllMocks(); });

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/zqushair/Frontapp-MCP'

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