MCPcopy Create free account
hub / github.com/MiniMax-AI/cli / setFetch

Function setFetch

test/polling/poll.test.ts:38–40  ·  view source on GitHub ↗
(fn: any)

Source from the content-addressed store, hash-verified

36
37// eslint-disable-next-line @typescript-eslint/no-explicit-any
38function setFetch(fn: any): void {
39 globalThis.fetch = fn as typeof globalThis.fetch;
40}
41
42afterEach(() => {
43 globalThis.fetch = originalFetch;

Callers 1

poll.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected