MCPcopy Create free account
hub / github.com/TanStack/db / collection-events.test.ts

File collection-events.test.ts

packages/db/tests/collection-events.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 { BTreeIndex } from '../src/indexes/btree-index.js'
4import type { Collection } from '../src/collection/index.js'

Callers

nothing calls this directly

Calls 14

beforeEachFunction · 0.90
afterEachFunction · 0.90
expectFunction · 0.90
createCollectionFunction · 0.85
fnMethod · 0.80
startSyncImmediateMethod · 0.80
onMethod · 0.45
subscribeChangesMethod · 0.45
unsubscribeMethod · 0.45
createIndexMethod · 0.45
removeIndexMethod · 0.45
onceMethod · 0.45

Tested by

no test coverage detected