fix(core): update

This commit is contained in:
Philipp Kunz 2020-08-18 12:52:00 +00:00
parent c17789e92e
commit ef38df62be

View File

@ -19,9 +19,10 @@ let smartdataOptions: smartdata.IMongoDescriptor;
let mongod: mongoPlugin.MongoMemoryServer; 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();
autoStart: true, console.log('created mongod instance');
}); await mongod._startUpInstance();
console.log('mongod started');
smartdataOptions = { smartdataOptions = {
mongoDbName: await mongod.getDbName(), mongoDbName: await mongod.getDbName(),
mongoDbPass: '', mongoDbPass: '',