|
|
@@ -18,6 +18,10 @@ beforeAll(async() => {
|
|
|
downloadDir: 'node_modules/.cache/mongodb-binaries',
|
|
|
},
|
|
|
});
|
|
|
+
|
|
|
+ // eslint-disable-next-line no-console
|
|
|
+ console.log(`MongoMemoryServer is running on ${mongoServer.getUri()}`);
|
|
|
+
|
|
|
await mongoose.connect(mongoServer.getUri(), mongoOptions);
|
|
|
});
|
|
|
|