Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/coder/mux
/ copilotOauthService.test.ts
File
copilotOauthService.test.ts
src/node/services/copilotOauthService.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, it, expect, beforeEach, afterEach } from
"bun:test"
;
2
3
import
type
{ ProviderModelEntry } from
"@/common/orpc/types"
;
4
import
type
{ Result } from
"@/common/types/result"
;
Callers
nothing calls this directly
Calls
13
Err
Function · 0.90
deviceCodeResponse
Function · 0.85
modelsResponse
Function · 0.85
authorizationPendingResponse
Function · 0.85
tokenSuccessResponse
Function · 0.85
createMockDeps
Function · 0.70
createService
Function · 0.70
mockFetch
Function · 0.70
jsonResponse
Function · 0.70
dispose
Method · 0.65
startDeviceFlow
Method · 0.45
waitForDeviceFlow
Method · 0.45
Tested by
no test coverage detected