Skip to main content
Glama
jest.config.jsโ€ข968 B
module.exports = { preset: 'ts-jest/presets/default-esm', testEnvironment: 'node', extensionsToTreatAsEsm: ['.ts'], moduleNameMapper: { '^(\.{1,2}/.*)\.js$': '$1', }, transform: { '^.+\.tsx?$': [ 'ts-jest', { useESM: true, }, ], }, transformIgnorePatterns: [ 'node_modules/(?!(@modelcontextprotocol)/)', ], testMatch: ['**/__tests__/**/*.ts', '**/?(*.)+(spec|test).ts'], testPathIgnorePatterns: [ '/node_modules/', 'tests/integration/', 'tests/bigquery/', 'src/bigquery/__tests__/', 'src/tests/bigquery/', 'tests/unit/mcp/server-factory.test.ts', 'tests/unit/mcp/integration.test.ts', 'tests/unit/config.test.ts', ], collectCoverageFrom: [ 'src/**/*.ts', '!src/**/*.d.ts', '!src/**/*.test.ts', '!src/**/*.spec.ts', ], coverageThreshold: { global: { branches: 10, functions: 10, lines: 15, statements: 15, }, }, };

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/erayguner/db-mcp'

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