MCPcopy Create free account
hub / github.com/TanStack/db / toBe

Function toBe

packages/tauri-db-sqlite-persistence/e2e/app/src/runtime-vitest.ts:195–200  ·  view source on GitHub ↗
(expected: unknown)

Source from the content-addressed store, hash-verified

193
194 const matchers = {
195 toBe(expected: unknown) {
196 assert(
197 Object.is(actual, expected),
198 `Expected ${formatValue(actual)} ${negate ? `not ` : ``}to be ${formatValue(expected)}`,
199 )
200 },
201 toEqual(expected: unknown) {
202 assert(
203 deepEqual(actual, expected),

Callers

nothing calls this directly

Calls 2

assertFunction · 0.70
formatValueFunction · 0.70

Tested by

no test coverage detected