File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export interface MongoInstanceDataT {
4242// TODO: do we need to keep this function async ?
4343const generateConnectionString = async ( port : number , dbName : string ) : Promise < string > => {
4444 return `mongodb://127.0.0.1:${ port } /${ dbName } ` ;
45- }
45+ } ;
4646
4747export default class MongoMemoryServer {
4848 runningInstance : Promise < MongoInstanceDataT > | null ;
Original file line number Diff line number Diff line change @@ -54,8 +54,7 @@ export default class MongodbInstance {
5454 this . opts . binary . debug = this . opts . debug ;
5555 }
5656
57-
58- this . debug = ( msg : string ) : void => {
57+ this . debug = ( msg : string ) : void => {
5958 if ( this . opts . instance && this . opts . instance . debug ) {
6059 console . log ( `Mongo[${ this . opts . instance && this . opts . instance . port } ]: ${ msg } ` ) ;
6160 }
You can’t perform that action at this time.
0 commit comments