Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/upstash/context7
/ auth-commands.test.ts
File
auth-commands.test.ts
packages/cli/src/__tests__/auth-commands.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, test, expect, vi, beforeEach, afterEach } from
"vitest"
;
2
import
{ Command } from
"commander"
;
3
4
const
mockGetValidAccessToken = vi.fn();
Callers
nothing calls this directly
Calls
2
performLogin
Function · 0.85
runCommand
Function · 0.70
Tested by
no test coverage detected