MCPcopy
hub / github.com/MiniMax-AI/cli / oauth.test.ts

File oauth.test.ts

test/auth/oauth.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, beforeEach, afterEach, mock } from 'bun:test';
2
3// Prevent openBrowser from actually opening a browser during tests
4mock.module('child_process', () => ({

Callers

nothing calls this directly

Calls 6

deviceCodeResponseFunction · 0.85
tokenResponseFunction · 0.85
deviceCodeLoginFunction · 0.85
errorResponseFunction · 0.85
resolveMethod · 0.80
setFetchFunction · 0.70

Tested by

no test coverage detected