MCPcopy Create free account
hub / github.com/TanStack/db / topKWithIndex.test.ts

File topKWithIndex.test.ts

packages/db-ivm/tests/operators/topKWithIndex.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, test } from 'vitest'
2import { D2 } from '../../src/d2.js'
3import { MultiSet } from '../../src/multiset.js'
4import { output } from '../../src/operators/index.js'

Callers

nothing calls this directly

Calls 15

expectFunction · 0.90
topKWithIndexFunction · 0.85
outputFunction · 0.85
sortByIndexAndIdFunction · 0.85
sortByKeyIndexAndIdFunction · 0.85
assertResultsFunction · 0.85
assertOnlyKeysAffectedFunction · 0.85
newInputMethod · 0.80
pipeMethod · 0.80
finalizeMethod · 0.80
getInnerMethod · 0.80

Tested by

no test coverage detected