Skip to main content
Glama
jedarden

YouTube Transcript DL MCP Server

by jedarden
setup.js804 B
// Jest setup file for YouTube Transcript MCP Server tests import { jest } from '@jest/globals'; // Mock winston logger to avoid console output during tests jest.mock('winston', () => ({ createLogger: jest.fn(() => ({ debug: jest.fn(), info: jest.fn(), warn: jest.fn(), error: jest.fn(), })), format: { timestamp: jest.fn(), errors: jest.fn(), json: jest.fn(), simple: jest.fn(), combine: jest.fn(), }, transports: { Console: jest.fn(), File: jest.fn(), }, })); // Mock youtube-transcript jest.mock('youtube-transcript', () => ({ YoutubeTranscript: { fetchTranscript: jest.fn(), }, })); // Setup test environment beforeEach(() => { jest.clearAllMocks(); }); // Global test timeout jest.setTimeout(30000); //# sourceMappingURL=setup.js.map

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