Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TanStack/db
/ collection.test.ts
File
collection.test.ts
packages/db/tests/collection.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
mitt from
'mitt'
2
import
{ describe, expect, it, vi } from
'vitest'
3
import
{ createCollection } from
'../src/collection/index.js'
4
import
{
Callers
nothing calls this directly
Calls
15
expect
Function · 0.90
mockSyncCollectionOptionsNoInitialState
Function · 0.90
flushPromises
Function · 0.90
stripVirtualProps
Function · 0.90
createTransaction
Function · 0.90
withExpectedRejection
Function · 0.90
createCollection
Function · 0.85
getStateEntries
Function · 0.85
createLiveQueryCollection
Function · 0.85
markReady
Method · 0.80
stateWhenReady
Method · 0.80
select
Method · 0.80
Tested by
no test coverage detected