MCPcopy Create free account
hub / github.com/TanStack/db / leader-failover.test.ts

File leader-failover.test.ts

packages/offline-transactions/tests/leader-failover.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from 'vitest'
2import { FakeStorageAdapter, createTestOfflineEnvironment } from './harness'
3import type { TestItem } from './harness'
4import type { PendingMutation } from '@tanstack/db'

Callers

nothing calls this directly

Calls 14

expectFunction · 0.90
peekOutboxMethod · 0.80
applyMutationsMethod · 0.80
setLeaderMethod · 0.80
waitUntilFunction · 0.70
flushMicrotasksFunction · 0.70
mutateMethod · 0.45
insertMethod · 0.45
commitMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected