We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/debugmcpdev/mcp-debugger'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
fs-extra.ts•522 B
import { vi } from 'vitest';
const fsExtraMock = {
ensureDir: vi.fn(async () => {}), // Mock implementation that returns a resolved promise of void
pathExists: vi.fn(async () => true), // Mock implementation that returns a resolved promise of true
// Add other fs-extra functions if they are used and need mocking
};
// To ensure the mock implementations are set correctly for vi.fn:
fsExtraMock.ensureDir.mockResolvedValue(undefined);
fsExtraMock.pathExists.mockResolvedValue(true);
export default fsExtraMock;