Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ describe, it, expect, beforeEach, afterEach, mock } from
'bun:test'
;
2
3
// Prevent openBrowser from actually opening a browser during tests
4
mock.module(
'child_process'
, () => ({
Callers
nothing calls this directly
Calls
6
deviceCodeResponse
Function · 0.85
tokenResponse
Function · 0.85
deviceCodeLogin
Function · 0.85
errorResponse
Function · 0.85
resolve
Method · 0.80
setFetch
Function · 0.70
Tested by
no test coverage detected