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

Function flushPromises

packages/rxdb-db-collection/tests/rxdb.test.ts:23–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22// Helper to advance timers and allow microtasks to flush
23const flushPromises = () => new Promise((resolve) => setTimeout(resolve, 0))
24
25describe(`RxDB Integration`, () => {
26 addRxPlugin(RxDBDevModePlugin)

Callers 1

rxdb.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected