MCPcopy Index your code
hub / github.com/parse-community/parse-server / waitForReplication

Function waitForReplication

spec/ReadPreferenceOption.spec.js:7–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5const request = require('../lib/request');
6
7function waitForReplication() {
8 return new Promise(function (resolve) {
9 setTimeout(resolve, 1000);
10 });
11}
12
13describe_only_db('mongo')('Read preference option', () => {
14 it('should find in primary by default', done => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected