UNPKG

rxdb

Version:

A local-first realtime NoSQL Database for JavaScript applications - https://rxdb.info/

7 lines (6 loc) 512 B
import type { Func } from 'mocha'; import type { RxCollection } from '../../types'; import type { RxReplicationState } from '../replication/index.ts'; export declare function testMultipleTimes(times: number, title: string, test: Func): void; export declare function ensureCollectionsHaveEqualState<RxDocType>(c1: RxCollection<RxDocType>, c2: RxCollection<RxDocType>, logContext?: string): Promise<void>; export declare function ensureReplicationHasNoErrors(replicationState: RxReplicationState<any, any>): void;