From 278f3c8169b1e3fabac0ecf8ac13232d9bd22503 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Wed, 18 May 2022 18:17:11 +0200 Subject: [PATCH] fix(tests): now uses @pushrocks/smartmongo backed by wiredTiger --- package-lock.json | 14 +++++++------- package.json | 2 +- test/test.watch.ts | 4 ++-- ts/00_commitinfo_data.ts | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index e06c9af..864abf8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@pushrocks/lik": "^5.0.4", "@pushrocks/smartdelay": "^2.0.13", "@pushrocks/smartlog": "^2.0.44", - "@pushrocks/smartmongo": "^2.0.0", + "@pushrocks/smartmongo": "^2.0.1", "@pushrocks/smartpromise": "^3.1.7", "@pushrocks/smartrx": "^2.0.25", "@pushrocks/smartstring": "^4.0.2", @@ -802,9 +802,9 @@ } }, "node_modules/@pushrocks/smartmongo": { - "version": "2.0.0", - "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartmongo/-/smartmongo-2.0.0.tgz", - "integrity": "sha512-YDUDQqU3ReLJvZi3CJXqn5LULOrhKdpShvSnYx4fLqCyBoP0sDA3SBP5L2arTmF5IlrhreWqBL5AX3Guegt5jQ==", + "version": "2.0.1", + "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartmongo/-/smartmongo-2.0.1.tgz", + "integrity": "sha512-apKedLxGTd5HO6Ke43ZknA4aMI+3tTNBXAzyalHgxh+b/p5fx62mCbgpxpR5EOXfxpPiHk7eaDip6k06a2hw1Q==", "license": "MIT", "dependencies": { "@pushrocks/smartdata": "^4.0.27", @@ -6941,9 +6941,9 @@ } }, "@pushrocks/smartmongo": { - "version": "2.0.0", - "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartmongo/-/smartmongo-2.0.0.tgz", - "integrity": "sha512-YDUDQqU3ReLJvZi3CJXqn5LULOrhKdpShvSnYx4fLqCyBoP0sDA3SBP5L2arTmF5IlrhreWqBL5AX3Guegt5jQ==", + "version": "2.0.1", + "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartmongo/-/smartmongo-2.0.1.tgz", + "integrity": "sha512-apKedLxGTd5HO6Ke43ZknA4aMI+3tTNBXAzyalHgxh+b/p5fx62mCbgpxpR5EOXfxpPiHk7eaDip6k06a2hw1Q==", "requires": { "@pushrocks/smartdata": "^4.0.27", "@pushrocks/smartpromise": "^3.1.7", diff --git a/package.json b/package.json index 361e1ab..babe12c 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@pushrocks/lik": "^5.0.4", "@pushrocks/smartdelay": "^2.0.13", "@pushrocks/smartlog": "^2.0.44", - "@pushrocks/smartmongo": "^2.0.0", + "@pushrocks/smartmongo": "^2.0.1", "@pushrocks/smartpromise": "^3.1.7", "@pushrocks/smartrx": "^2.0.25", "@pushrocks/smartstring": "^4.0.2", diff --git a/test/test.watch.ts b/test/test.watch.ts index 20544dd..2ef37d2 100644 --- a/test/test.watch.ts +++ b/test/test.watch.ts @@ -19,13 +19,13 @@ let testDb: smartdata.SmartdataDb; const totalCars = 2000; -tap.skip.test('should create a testinstance as database', async () => { +tap.test('should create a testinstance as database', async () => { smartmongoInstance = await smartmongo.SmartMongo.createAndStart(); testDb = new smartdata.SmartdataDb(await smartmongoInstance.getMongoDescriptor()); await testDb.init(); }); -tap.test('should connect to atlas', async (tools) => { +tap.skip.test('should connect to atlas', async (tools) => { const databaseName = `test-smartdata-${smartunique.shortId()}`; testDb = new smartdata.SmartdataDb({ mongoDbUrl: testQenv.getEnvVarOnDemand('MONGO_URL'), diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 01b93b9..c287aa4 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@pushrocks/smartdata', - version: '5.0.1', + version: '5.0.2', description: 'do more with data' }