Skip to content

Commit 4902b36

Browse files
committed
chore: fix prettier errors
1 parent 9c4991a commit 4902b36

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/MongoMemoryServer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export interface MongoInstanceDataT {
4242
// TODO: do we need to keep this function async ?
4343
const generateConnectionString = async (port: number, dbName: string): Promise<string> => {
4444
return `mongodb://127.0.0.1:${port}/${dbName}`;
45-
}
45+
};
4646

4747
export default class MongoMemoryServer {
4848
runningInstance: Promise<MongoInstanceDataT> | null;

src/util/MongoInstance.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)