Skip to main content
Glama
vitest.config.ts836 B
import { defineConfig } from 'vitest/config'; export default defineConfig({ test: { testTimeout: 60000, // 60 seconds per test hookTimeout: 30000, // 30 seconds for beforeAll/afterAll reporters: ['verbose'], // Print each test name as it runs // Only run tests from src/ - not from dist/ // Rationale: // - The build step (tsc) already verifies TypeScript compiles correctly // - Running the same tests from both src and dist is redundant // - It doubles test time and creates port collision issues // - Source tests are sufficient to verify functionality include: ['src/**/*.test.ts'], // Run tests sequentially within each file to avoid port collisions // Tests that start gRPC servers need previous servers fully shut down sequence: { concurrent: false, }, }, });

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/harche/ProDisco'

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