We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/altinakseven/tavily-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
setup.ts•326 B
import { vi } from 'vitest'
// Mock environment variables
process.env.TAVILY_API_KEY = 'test-api-key'
// Global test setup
beforeEach(() => {
// Reset all mocks before each test
vi.clearAllMocks()
})
// Mock axios for all tests
vi.mock('axios', () => ({
default: {
post: vi.fn(),
isAxiosError: vi.fn()
}
}))