MCPcopy Index your code
hub / github.com/TanStack/db / collection-lifecycle.test.ts

File collection-lifecycle.test.ts

packages/db/tests/collection-lifecycle.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
2import { createCollection } from '../src/collection/index.js'
3import { CleanupQueue } from '../src/collection/cleanup-queue.js'
4

Callers

nothing calls this directly

Calls 15

beforeEachFunction · 0.90
afterEachFunction · 0.90
expectFunction · 0.90
createCollectionFunction · 0.85
commitCallbackFunction · 0.85
triggerAllTimeoutsFunction · 0.85
fnMethod · 0.80
resetInstanceMethod · 0.80
setMethod · 0.45
deleteMethod · 0.45
preloadMethod · 0.45
cleanupMethod · 0.45

Tested by

no test coverage detected