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;
tap.test('should create a testinstance as database', async () => {
mongod = new mongoPlugin.MongoMemoryServer({
autoStart: true,
});
mongod = new mongoPlugin.MongoMemoryServer();
console.log('created mongod instance');
await mongod._startUpInstance();
console.log('mongod started');
smartdataOptions = {
mongoDbName: await mongod.getDbName(),
mongoDbPass: '',