Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Noumena-Network/code
/ toolResultStorage.budget.test.ts
File
toolResultStorage.budget.test.ts
src/utils/toolResultStorage.budget.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
{ existsSync } from
'fs'
3
import
{ mkdtemp, readFile, rm } from
'fs/promises'
4
import
{ tmpdir } from
'os'
Callers
nothing calls this directly
Calls
15
existsSync
Function · 0.90
getOriginalCwd
Function · 0.85
resetGrowthBook
Function · 0.85
rm
Function · 0.85
createContentReplacementState
Function · 0.85
applyToolResultBudget
Function · 0.85
getToolResultPath
Function · 0.85
readFile
Function · 0.85
createAssistantToolUseMessage
Function · 0.85
enforceToolResultBudget
Function · 0.85
restoreEnvVar
Function · 0.70
setGrowthBookOverrides
Function · 0.70
Tested by
no test coverage detected