From 0bf2ba554d8fd8a9aa675ee39da5a8f1160b284a Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Tue, 18 Aug 2020 12:46:14 +0000 Subject: [PATCH] fix(core): update --- .gitlab-ci.yml | 1 - package.json | 2 +- test/test.ts | 6 ++++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3e59fd5..9a4467e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -56,7 +56,6 @@ auditDevDependencies: testStable: stage: test script: - - apt-get update -y && apt-get install -y lsb-core - npmci npm prepare - npmci node install stable - npmci npm install diff --git a/package.json b/package.json index 16f7154..22d3050 100644 --- a/package.json +++ b/package.json @@ -59,4 +59,4 @@ "browserslist": [ "last 1 chrome versions" ] -} +} \ No newline at end of file diff --git a/test/test.ts b/test/test.ts index 6b11ea9..74e5673 100644 --- a/test/test.ts +++ b/test/test.ts @@ -19,7 +19,9 @@ let smartdataOptions: smartdata.IMongoDescriptor; let mongod: mongoPlugin.MongoMemoryServer; tap.test('should create a testinstance as database', async () => { - mongod = new mongoPlugin.MongoMemoryServer(); + mongod = new mongoPlugin.MongoMemoryServer({ + autoStart: true, + }); smartdataOptions = { mongoDbName: await mongod.getDbName(), mongoDbPass: '', @@ -29,7 +31,7 @@ tap.test('should create a testinstance as database', async () => { testDb = new smartdata.SmartdataDb(smartdataOptions); }); -tap.test('should establish a connection to the rethink Db cluster', async () => { +tap.test('should establish a connection to mongod', async () => { await testDb.init(); });