File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/mongodb-memory-server-core/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -597,7 +597,7 @@ export class MongoMemoryReplSet extends EventEmitter {
597597 const instanceInfo = server . instanceInfo ;
598598
599599 if ( ! instanceInfo ) {
600- return rej ( new Error ( '_waitForPrimary - instanceInfo not present ' ) ) ;
600+ return rej ( new Error ( '_waitForPrimary - instanceInfo not present' ) ) ;
601601 }
602602
603603 instanceInfo . instance . once ( MongoInstanceEvents . instancePrimary , res ) ;
@@ -608,7 +608,7 @@ export class MongoMemoryReplSet extends EventEmitter {
608608 }
609609 } )
610610 ) ,
611- new Promise ( ( res , rej ) => {
611+ new Promise ( ( _res , rej ) => {
612612 timeoutId = setTimeout ( ( ) => {
613613 rej ( new Error ( `Timed out after ${ timeout } ms while waiting for an Primary` ) ) ;
614614 } , timeout ) ;
You can’t perform that action at this time.
0 commit comments