Skip to main content
Glama

Electron MCP Server

by halilural
vitest.config.tsโ€ข1.14 kB
import { defineConfig } from 'vitest/config'; import { resolve } from 'path'; import { config } from 'dotenv'; // Load environment variables from .env file config(); export default defineConfig({ test: { globals: true, environment: 'node', setupFiles: ['./tests/conftest.ts'], include: ['tests/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'], exclude: [ '**/node_modules/**', '**/dist/**', '**/cypress/**', '**/.{idea,git,cache,output,temp}/**', '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*', '**/setup.ts', // Exclude setup file from being run as a test ], coverage: { provider: 'v8', reporter: ['text', 'json', 'html'], exclude: [ 'node_modules/', 'test/', 'dist/', 'example-app/', '**/*.d.ts', '**/*.config.*', '**/coverage/**', ], }, testTimeout: 10000, hookTimeout: 10000, teardownTimeout: 5000, }, resolve: { alias: { '@': resolve(__dirname, './src'), '@test': resolve(__dirname, './test'), }, }, });

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/halilural/electron-mcp-server'

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