Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mastra-ai/mastra
/ retention.test.ts
File
retention.test.ts
stores/mongodb/src/storage/retention.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ createSampleThreadWithParams } from
'@internal/storage-test-utils'
;
2
import
type
{ StorageThreadType } from
'@mastra/core/memory'
;
3
import
{
4
TABLE_BACKGROUND_TASKS,
Callers
nothing calls this directly
Calls
15
db
Function · 0.85
expect
Function · 0.85
seedTask
Function · 0.85
lazyDb
Function · 0.85
hasCreatedAtIndex
Function · 0.85
indexKeys
Function · 0.85
deleteMany
Method · 0.80
map
Method · 0.80
catch
Method · 0.80
newStore
Function · 0.70
seedThread
Function · 0.70
threadIds
Function · 0.70
Tested by
no test coverage detected