12345678910111213141516171819202122232425262728293031323334 |
- import { Database, DatabaseReference } from '../../src';
- import { Path } from '../../src/core/util/Path';
- import { EventAccumulator } from './EventAccumulator';
- export declare const TEST_PROJECT: any;
- export declare function getFreshRepo(path: Path): DatabaseReference;
- export declare const DATABASE_ADDRESS: any;
- export declare const DATABASE_URL: any;
- export declare function testRepoInfo(url: any): import("../../src/core/RepoInfo").RepoInfo;
- export declare function repoInfoForConnectionTest(): import("../../src/core/RepoInfo").RepoInfo;
- export declare function shuffle(arr: any, randFn?: () => number): void;
- export declare function waitFor(waitTimeInMS: number): Promise<unknown>;
- export declare function getUniqueRef(db: Database): DatabaseReference;
- export declare function getRWRefs(db: Database): {
- readerRef: DatabaseReference;
- writerRef: DatabaseReference;
- };
- export declare function writeAndValidate(writerRef: DatabaseReference, readerRef: DatabaseReference, toWrite: unknown, ec: EventAccumulator): Promise<void>;
- export declare function waitUntil(cb: () => boolean, maxRetries?: number): Promise<unknown>;
|