MCPcopy Index your code
hub / github.com/MiniMax-AI/cli / setFetch

Function setFetch

test/auth/oauth.test.ts:99–101  ·  view source on GitHub ↗
(fn: any)

Source from the content-addressed store, hash-verified

97
98// eslint-disable-next-line @typescript-eslint/no-explicit-any
99function setFetch(fn: any): void {
100 globalThis.fetch = fn as typeof globalThis.fetch;
101}
102
103afterEach(() => {
104 globalThis.fetch = originalFetch;

Callers 1

oauth.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected