Skip to main content
Glama
vitest.config.offline.ts1.76 kB
import { defineConfig } from 'vitest/config'; import { aliasEntries } from './aliases.ts'; export default defineConfig({ test: { environment: 'node', include: ['test/**/*.test.ts', 'test/**/*.test.js'], exclude: [ 'node_modules/**', 'test/integration/**', 'test/manual/**', 'test/e2e/**', 'test/mcp/**', // MCP tests hit real APIs via MCPTestClient 'test/**/*.manual.*', 'test/**/*real-api-integration*', 'test/**/*claude-desktop-scenario*', 'test/real-api-validation.test.ts', 'test/handlers/tool-configs/universal/integration-*.test.ts', 'test/handlers/tool-configs/universal/performance-*.test.ts', // Exclude performance tests from offline runs 'test/performance/**/*.test.ts', // Exclude debug/diagnostic suites from automated offline runs 'test/debug/**/*.test.ts', ], globals: true, testTimeout: 10000, setupFiles: ['./test/setup.ts'], pool: 'forks', poolOptions: { forks: { minForks: 1, maxForks: '50%', }, }, coverage: { provider: 'v8', reporter: ['text', 'json', 'html', 'lcov'], reportsDirectory: './coverage', include: ['src/**/*.{ts,js}'], exclude: [ 'src/**/*.d.ts', 'src/**/*.test.{ts,js}', 'src/**/*.spec.{ts,js}', 'src/types/**', 'src/**/types.ts', 'src/index.ts', ], thresholds: { statements: 5, branches: 5, functions: 10, lines: 5, }, all: true, clean: true, }, silent: false, reporters: ['verbose'], // Note: File watching exclusions not available in this config }, resolve: { alias: aliasEntries, }, });

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/kesslerio/attio-mcp-server'

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