Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexkit/magic-context
/ ctx-memory.test.ts
File
ctx-memory.test.ts
packages/pi-plugin/src/tools/ctx-memory.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it } from
"bun:test"
;
2
import
{ resolveProjectIdentity } from
"@magic-context/core/features/magic-context/memory/project-identity"
;
3
import
{
4
getMemoryById,
Callers
nothing calls this directly
Calls
10
createTestDb
Function · 0.90
createCtxMemoryTool
Function · 0.90
fakeContext
Function · 0.90
closeQuietly
Function · 0.90
resolveProjectIdentity
Function · 0.90
insertMemory
Function · 0.90
getMemoryById
Function · 0.90
getMemoryMutationsForRender
Function · 0.90
run
Method · 0.65
prepare
Method · 0.45
Tested by
no test coverage detected