fix(core): update
This commit is contained in:
parent
a3759fa484
commit
804701c96a
@ -21,7 +21,9 @@ let mongod: mongoPlugin.MongoMemoryServer;
|
|||||||
tap.test('should create a testinstance as database', async () => {
|
tap.test('should create a testinstance as database', async () => {
|
||||||
mongod = new mongoPlugin.MongoMemoryServer();
|
mongod = new mongoPlugin.MongoMemoryServer();
|
||||||
console.log('created mongod instance');
|
console.log('created mongod instance');
|
||||||
await mongod._startUpInstance();
|
await mongod._startUpInstance().catch(err => {
|
||||||
|
console.log(err);
|
||||||
|
});
|
||||||
console.log('mongod started');
|
console.log('mongod started');
|
||||||
smartdataOptions = {
|
smartdataOptions = {
|
||||||
mongoDbName: await mongod.getDbName(),
|
mongoDbName: await mongod.getDbName(),
|
||||||
|
Loading…
Reference in New Issue
Block a user