MCPcopy Index your code
hub / github.com/TanStack/db / expect

Function expect

packages/tauri-db-sqlite-persistence/e2e/app/src/runtime-vitest.ts:296–301  ·  view source on GitHub ↗
(
  actual: unknown,
  message?: string,
)

Source from the content-addressed store, hash-verified

294}
295
296export function expect(
297 actual: unknown,
298 message?: string,
299): Record<string, unknown> {
300 return createMatchers(actual, message)
301}
302
303type Describe = ((name: string, callback: AsyncCallback) => void) & {
304 skip: (name: string, callback: AsyncCallback) => void

Callers 15

assertCollectionSizeFunction · 0.90
assertNoDeduplicationFunction · 0.90
createMutationsTestSuiteFunction · 0.90
createJoinsTestSuiteFunction · 0.90
createCollationTestSuiteFunction · 0.90

Calls 1

createMatchersFunction · 0.70

Tested by 15

getDatababaseFunction · 0.72
mutationFnFunction · 0.72
expectIndexUsageFunction · 0.72
createBasicTestsFunction · 0.72
testJoinTypeFunction · 0.72
createJoinTestsFunction · 0.72
createSubqueryTestsFunction · 0.72
createJoinSubqueryTestsFunction · 0.72
createDistinctTestsFunction · 0.72
ensureConsistencyFunction · 0.72
createGroupByTestsFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…