Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
0984a1ade4 | |||
804701c96a | |||
a3759fa484 | |||
ef38df62be |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartdata",
|
||||
"version": "3.1.36",
|
||||
"version": "3.1.38",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartdata",
|
||||
"version": "3.1.36",
|
||||
"version": "3.1.38",
|
||||
"private": false,
|
||||
"description": "do more with data",
|
||||
"main": "dist_ts/index.js",
|
||||
|
@ -19,9 +19,12 @@ 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().catch(err => {
|
||||
console.log(err);
|
||||
});
|
||||
console.log('mongod started');
|
||||
smartdataOptions = {
|
||||
mongoDbName: await mongod.getDbName(),
|
||||
mongoDbPass: '',
|
||||
|
Reference in New Issue
Block a user