Skip to main content
Glama
jedarden

YouTube Transcript DL MCP Server

by jedarden
jest.esm.config.js1.39 kB
/** * Jest configuration for ESM migration tests * This configuration is specifically for testing ESM compatibility */ export default { preset: 'ts-jest/presets/default-esm', extensionsToTreatAsEsm: ['.ts'], testEnvironment: 'node', // ESM-specific settings moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1' }, transform: { '^.+\\.ts$': ['ts-jest', { useESM: true, tsconfig: { module: 'ES2022', target: 'ES2022', moduleResolution: 'node', allowSyntheticDefaultImports: true, esModuleInterop: true } }] }, // Test patterns for ESM migration tests testMatch: [ '**/tests/esm-migration/**/*.test.ts' ], // Test setup setupFilesAfterEnv: ['<rootDir>/setup.esm.ts'], // Coverage collectCoverageFrom: [ 'src/**/*.{ts,js}', '!src/**/*.d.ts', '!src/**/*.test.ts' ], coverageDirectory: 'coverage/esm-migration', coverageReporters: ['text', 'lcov', 'html'], // Timeouts for integration tests testTimeout: 30000, // Module file extensions moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], // Ignore patterns testPathIgnorePatterns: [ '/node_modules/', '/dist/', '/coverage/' ], // ESM resolver resolver: undefined, // Use default ESM resolver // Verbose output for debugging verbose: true };

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/jedarden/yt-transcript-dl-mcp'

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