Skip to main content
Glama
vitest.config.ts734 B
import { defineConfig } from 'vitest/config'; export default defineConfig({ test: { globals: true, environment: 'node', coverage: { provider: 'v8', reporter: ['text', 'json', 'html'], exclude: [ 'node_modules/', 'dist/', 'tests/', '**/*.test.ts', '**/*.config.ts', 'coverage/', 'src/index.ts', // Entry point - requires process spawn testing ], thresholds: { lines: 90, functions: 90, branches: 68, // Realistic threshold given Zod validation error handling statements: 90, }, }, include: ['tests/**/*.test.ts'], exclude: ['node_modules/', 'dist/'], testTimeout: 10000, }, });

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/funsjanssen/faker-mcp'

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