fix(core): update
This commit is contained in:
parent
c17789e92e
commit
ef38df62be
@ -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: '',
|
||||||
|
Loading…
Reference in New Issue
Block a user