Skip to content

Commit

Permalink
fix(MongoMemoryServer): change to log value "createAuth"
Browse files Browse the repository at this point in the history
  • Loading branch information
hasezoey committed Oct 14, 2021
1 parent 7be31bc commit 9c3fea0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -427,7 +427,7 @@ export class MongoMemoryServer extends EventEmitter implements ManagerAdvanced {
this.debug(`_startUpInstance: Creating new MongoDB instance with options:`, mongodOptions);

const instance = await MongoInstance.create(mongodOptions);
this.debug('_startUpInstance: Instance Started');
this.debug(`_startUpInstance: Instance Started, createAuth: "${createAuth}"`);

// "isNullOrUndefined" because otherwise typescript complains about "this.auth" possibly being not defined
if (!isNullOrUndefined(this.auth) && createAuth) {
Expand Down

0 comments on commit 9c3fea0

Please sign in to comment.