Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Noumena-Network/code
/ LeaseManager.test.ts
File
LeaseManager.test.ts
src/auth/runtime/LeaseManager.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, beforeEach, describe, expect, it } from
'bun:test'
2
import
{ chmod, mkdtemp, rm, writeFile } from
'fs/promises'
3
import
{ tmpdir } from
'os'
4
import
{ join } from
'path'
Callers
nothing calls this directly
Calls
15
enableConfigs
Function · 0.85
clearOAuthTokenCache
Function · 0.85
clearApiKeyHelperCache
Function · 0.85
resetSettingsCache
Function · 0.85
setFlagSettingsInline
Function · 0.85
getSecureStorage
Function · 0.85
_setGlobalConfigCacheForTesting
Function · 0.85
rm
Function · 0.85
saveOAuthTokensIfNeeded
Function · 0.85
getLeaseManager
Function · 0.85
delete
Method · 0.80
restoreEnv
Function · 0.70
Tested by
no test coverage detected