Skip to main content
Glama
vitest.config.ts1.11 kB
/// <reference types="vitest" /> import react from '@vitejs/plugin-react'; import path from 'path'; import { defineConfig } from 'vite'; export default defineConfig({ plugins: [react()], test: { globals: true, environment: 'jsdom', setupFiles: ['./src/__tests__/setup.ts'], include: ['src/**/*.{test,spec}.{ts,tsx}'], coverage: { provider: 'v8', reporter: ['text', 'json', 'html'], exclude: ['node_modules/', 'src/__tests__/', 'dist/', 'dist-node/'], thresholds: { lines: 75, branches: 75, functions: 75, statements: 75, }, }, }, resolve: { alias: { '@': path.resolve(__dirname, './src'), '@components': path.resolve(__dirname, './src/components'), '@stores': path.resolve(__dirname, './src/stores'), '@utils': path.resolve(__dirname, './src/utils'), '@hooks': path.resolve(__dirname, './src/hooks'), '@types': path.resolve(__dirname, './src/types'), '@api': path.resolve(__dirname, './src/api'), '@scenes': path.resolve(__dirname, './src/scenes'), }, }, });

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/keyurgolani/ThoughtMcp'

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