import { mf } from "https://deno.land/x/deno_slack_api@2.8.0/dev_deps.ts";
const { install } = mf;
Replace globalThis.fetch
with mockedFetch
(or another function that
matches the fetch
signature)
To restore the original globalThis.fetch
, call uninstall()
.