Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Noumena-Network/code
/ errors.auth.test.ts
File
errors.auth.test.ts
src/services/api/errors.auth.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
{ APIError } from
'@anthropic-ai/sdk'
3
import
{ mkdtemp, rm } from
'fs/promises'
4
import
{ tmpdir } from
'os'
Callers
nothing calls this directly
Calls
13
resetStateForTests
Function · 0.85
clearOAuthTokenCache
Function · 0.85
getSecureStorage
Function · 0.85
rm
Function · 0.85
makeDirectEnvApiKeySession
Function · 0.85
getAssistantMessageFromError
Function · 0.85
makeManagedErrorSession
Function · 0.85
getPrimaryErrorText
Function · 0.85
delete
Method · 0.80
setStableTestRuntime
Function · 0.70
restoreEnv
Function · 0.70
withMockCurrentSession
Function · 0.70
Tested by
no test coverage detected