From ef38df62bea5b016522b8605474c1a524583badd Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Tue, 18 Aug 2020 12:52:00 +0000 Subject: [PATCH] fix(core): update --- test/test.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/test.ts b/test/test.ts index 74e5673..41b5e19 100644 --- a/test/test.ts +++ b/test/test.ts @@ -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: '',