Skip to main content
Glama

VS Code MCP Button Generator

by burkeholland
jest.config.ts812 B
import type { Config } from 'jest'; // Jest config for TypeScript + ESM using ts-jest const config: Config = { preset: 'ts-jest/presets/default-esm', testEnvironment: 'node', // Treat .ts as ESM to match project "type": "module" extensionsToTreatAsEsm: ['.ts'], // Map TS ESM-style internal .js imports back to TS paths during tests moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1', }, // Include source in coverage collection (optional) collectCoverageFrom: ['src/**/*.{ts,tsx}', '!src/**/__tests__/**'], testMatch: ['**/src/__tests__/**/*.test.ts'], // Configure ts-jest via transform with ESM + project tsconfig transform: { '^.+\\.(ts|tsx)$': [ 'ts-jest', { useESM: true, tsconfig: 'tsconfig.json', }, ], }, }; export default config;

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/burkeholland/mcp-vsc-button-gen'

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