diff --git a/test/test.ts b/test/test.ts index c176c32..faad6aa 100644 --- a/test/test.ts +++ b/test/test.ts @@ -3,6 +3,8 @@ import { Qenv } from '@pushrocks/qenv'; import * as smartmongo from '@pushrocks/smartmongo'; import { smartunique } from '../ts/smartdata.plugins.js'; +import * as mongodb from 'mongodb'; + const testQenv = new Qenv(process.cwd(), process.cwd() + '/.nogit/'); console.log(process.memoryUsage()); @@ -80,7 +82,7 @@ tap.test('should save the car to the db', async (toolsArg) => { let counter = 0; const gottenCarInstance = await Car.getInstance({}); - console.log(gottenCarInstance.testBuffer); + console.log(gottenCarInstance.testBuffer instanceof mongodb.Binary); process.memoryUsage(); do { const myCar3 = new Car('red', 'Renault'); diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 820441d..84e507a 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.6', + version: '5.0.7', description: 'do more with data' }