Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mackerel_client_deno/deps.ts>mf.MockFetch

Mackerel API Client in Deno
Go to Latest
interface mf.MockFetch
import { type mf } from "https://deno.land/x/mackerel_client_deno@v0.5.1/deps.ts";
const { MockFetch } = mf;

Properties

fetch: globalThis.fetch
mock: (route: string, handler: MatchHandler) => void
remove: (route: string) => void
reset: () => void