Skip to main content
Glama
setup.js610 B
import 'dotenv/config'; // Global test setup for Vitest // This file is run before all tests // Set test environment variables if needed process.env.NODE_ENV = 'test'; // Global test utilities global.testTimeout = 60000; // Cleanup function for database connections global.cleanupConnections = async () => { // This will be called after each test suite await new Promise(resolve => setTimeout(resolve, 100)); }; // Global error handler for unhandled rejections in tests process.on('unhandledRejection', (reason, promise) => { console.warn('Unhandled Rejection at:', promise, 'reason:', reason); });

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/QuixiAI/agi-mcp-server'

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