MCPcopy
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

1import { createSampleThreadWithParams } from '@internal/storage-test-utils';
2import type { StorageThreadType } from '@mastra/core/memory';
3import {
4 TABLE_BACKGROUND_TASKS,

Callers

nothing calls this directly

Calls 15

dbFunction · 0.85
expectFunction · 0.85
seedTaskFunction · 0.85
lazyDbFunction · 0.85
hasCreatedAtIndexFunction · 0.85
indexKeysFunction · 0.85
deleteManyMethod · 0.80
mapMethod · 0.80
catchMethod · 0.80
newStoreFunction · 0.70
seedThreadFunction · 0.70
threadIdsFunction · 0.70

Tested by

no test coverage detected