We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8427df8 commit 0bbc346Copy full SHA for 0bbc346
packages/mongodb-memory-server-core/src/MongoMemoryReplSet.ts
@@ -706,7 +706,7 @@ export class MongoMemoryReplSet extends EventEmitter implements ManagerAdvanced
706
const instanceInfo = server.instanceInfo;
707
708
if (isNullOrUndefined(instanceInfo)) {
709
- return rej(new Error('_waitForPrimary - instanceInfo not present'));
+ return rej(new Error('_waitForPrimary - instanceInfo not present')); // TODO: change to "InstanceInfoError"
710
}
711
712
instanceInfo.instance.once(MongoInstanceEvents.instancePrimary, res);
0 commit comments