Skip to main content
Glama
setup.ts842 B
// Global test setup and configuration // Increase timeout for integration tests jest.setTimeout(10000); // Mock console methods to reduce noise in test output global.console = { ...console, log: jest.fn(), debug: jest.fn(), info: jest.fn(), warn: jest.fn(), error: jest.fn(), }; // Setup global test utilities beforeAll(() => { // Any global setup }); afterAll(() => { // Any global cleanup }); // Add custom matchers if needed expect.extend({ toBeValidStrudelPattern(received: string) { const pass = received.includes('s(') || received.includes('note(') || received.includes('stack('); return { pass, message: () => `Expected ${received} to be a valid Strudel pattern` }; } }); declare global { namespace jest { interface Matchers<R> { toBeValidStrudelPattern(): R; } } }

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/williamzujkowski/strudel-mcp-server'

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