fix(core): update

This commit is contained in:
Philipp Kunz 2020-08-18 12:53:44 +00:00
parent a3759fa484
commit 804701c96a

View File

@ -21,7 +21,9 @@ let mongod: mongoPlugin.MongoMemoryServer;
tap.test('should create a testinstance as database', async () => {
mongod = new mongoPlugin.MongoMemoryServer();
console.log('created mongod instance');
await mongod._startUpInstance();
await mongod._startUpInstance().catch(err => {
console.log(err);
});
console.log('mongod started');
smartdataOptions = {
mongoDbName: await mongod.getDbName(),