Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/promptfoo/promptfoo
/ cache.test.ts
File
cache.test.ts
test/cache.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
fs from
'fs'
;
2
import
path from
'path'
;
3
4
import
{
Callers
nothing calls this directly
Calls
15
mockProcessEnv
Function · 0.90
clearCache
Function · 0.90
enableCache
Function · 0.90
isCacheEnabled
Function · 0.90
withCacheEnabled
Function · 0.90
disableCache
Function · 0.90
getCache
Function · 0.90
withCacheNamespace
Function · 0.90
fetchWithCache
Function · 0.90
it
Function · 0.85
mockFetchWithRetriesResponse
Function · 0.85
resolve
Function · 0.85
Tested by
no test coverage detected