Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Zoo-Code-Org/Zoo-Code
/ credentials.test.ts
File
credentials.test.ts
apps/cli/src/lib/storage/__tests__/credentials.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
fs from
"fs/promises"
2
import
path from
"path"
3
4
// Use vi.hoisted to make the test directory available to the mock
Callers
nothing calls this directly
Calls
10
getCredentialsPath
Function · 0.85
saveToken
Function · 0.85
loadToken
Function · 0.85
loadCredentials
Function · 0.85
clearToken
Function · 0.85
hasToken
Function · 0.85
parse
Method · 0.80
stat
Method · 0.80
toString
Method · 0.65
readFile
Method · 0.45
Tested by
no test coverage detected