Skip to main content
Glama

Vitest MCP Server

vitest.config.tsโ€ข682 B
import { defineConfig } from 'vitest/config'; export default defineConfig({ test: { // Support both node and browser environments environment: 'node', environmentMatchGlobs: [ ['**/browser/**', 'jsdom'] ], // Exclude test-validation directory from npm test runs exclude: [ '**/node_modules/**', '**/dist/**', '**/coverage/**', '**/test-validation/**' ], coverage: { provider: 'v8', reporter: ['text', 'json', 'html'], reportsDirectory: './coverage', exclude: [ 'node_modules/', 'dist/', 'coverage/', '**/*.test.ts', '**/*.spec.ts' ] } }, });

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/djankies/vitest-mcp'

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