Skip to main content
Glama
vitest.config.smoke.ts1.38 kB
import { defineConfig } from 'vitest/config'; import { aliasEntries } from './aliases.ts'; /** * Vitest configuration for smoke tests * Ultra-fast critical path validation in <30 seconds */ export default defineConfig({ test: { environment: 'node', include: [ // Critical path tests only - these must pass for basic functionality 'test/services/UniversalCreateService.test.ts', 'test/services/UniversalSearchService.test.ts', 'test/api/advanced-search.test.ts', 'test/utils/domain-utils.test.ts', ], exclude: [ // Exclude slow integration tests 'test/integration/**/*.test.ts', 'test/e2e/**/*.test.ts', // Exclude performance tests 'test/performance/**/*.test.ts', ], globals: true, testTimeout: 10000, // 10s max per test (shorter than default) hookTimeout: 5000, // 5s max for setup/teardown setupFiles: ['./test/setup.ts'], // Optimized for speed pool: 'threads', poolOptions: { threads: { singleThread: true, }, }, isolate: false, // Faster but less isolated // Minimal coverage for smoke tests coverage: { enabled: false, // Skip coverage in smoke tests for speed }, // Fast reporter reporters: ['dot'], // Fail fast on first error bail: 1, }, 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