Skip to main content
Glama
by zbkm
setupFetchSpy.ts270 B
import {afterAll, beforeEach, spyOn} from "bun:test"; const spyFetch = spyOn(globalThis, "fetch"); const originalFetch = globalThis.fetch; beforeEach(() => { spyFetch.mockReset(); }); afterAll(() => { globalThis.fetch = originalFetch; }); export {spyFetch};

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/zbkm/mmnt-mcp-server'

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