MCPcopy 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

1import fs from "fs/promises"
2import path from "path"
3
4// Use vi.hoisted to make the test directory available to the mock

Callers

nothing calls this directly

Calls 10

getCredentialsPathFunction · 0.85
saveTokenFunction · 0.85
loadTokenFunction · 0.85
loadCredentialsFunction · 0.85
clearTokenFunction · 0.85
hasTokenFunction · 0.85
parseMethod · 0.80
statMethod · 0.80
toStringMethod · 0.65
readFileMethod · 0.45

Tested by

no test coverage detected