Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/mackerel_client_deno/deps.ts>mf.sandbox

Mackerel API Client in Deno
Latest
function mf.sandbox
import { mf } from "https://deno.land/x/mackerel_client_deno@v0.7.0/deps.ts";
const { sandbox } = mf;

Get a set of functions that do not share any state with the globals.

The returned object can be destructured.

const { fetch, mock, remove, reset } = sandbox()