Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/claude-code-best/claude-code
/ memoize.test.ts
File
memoize.test.ts
src/utils/__tests__/memoize.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ mock, describe, expect, test, beforeEach } from
'bun:test'
2
import
{ logMock } from
'../../../tests/mocks/log'
3
4
// Mock log.ts to cut the bootstrap/state dependency chain
Callers
nothing calls this directly
Calls
8
memoizeWithTTL
Function · 0.85
memoizeWithTTLAsync
Function · 0.85
size
Method · 0.80
delete
Method · 0.65
get
Method · 0.65
memoizeWithLRU
Function · 0.50
clear
Method · 0.45
has
Method · 0.45
Tested by
no test coverage detected