Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/coder/mux
/ serverAuthService.test.ts
File
serverAuthService.test.ts
src/node/services/serverAuthService.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, beforeEach, describe, expect, it, spyOn } from
"bun:test"
;
2
import
* as fs from
"fs"
;
3
import
* as os from
"os"
;
4
import
* as path from
"path"
;
Callers
nothing calls this directly
Calls
15
createSessionViaGithubDeviceFlow
Function · 0.85
setMockFetchForSuccessfulGithubLogin
Function · 0.85
editConfig
Method · 0.80
validateSessionToken
Method · 0.80
revokeSession
Method · 0.80
revokeOtherSessions
Method · 0.80
startGithubDeviceFlow
Method · 0.80
waitForGithubDeviceFlow
Method · 0.80
cancelGithubDeviceFlow
Method · 0.80
createService
Function · 0.70
mockFetch
Function · 0.70
jsonResponse
Function · 0.70
Tested by
no test coverage detected