fix(core): update
This commit is contained in:
parent
da0c9873eb
commit
ad87f8147b
@ -3,6 +3,8 @@ import { Qenv } from '@pushrocks/qenv';
|
|||||||
import * as smartmongo from '@pushrocks/smartmongo';
|
import * as smartmongo from '@pushrocks/smartmongo';
|
||||||
import { smartunique } from '../ts/smartdata.plugins.js';
|
import { smartunique } from '../ts/smartdata.plugins.js';
|
||||||
|
|
||||||
|
import * as mongodb from 'mongodb';
|
||||||
|
|
||||||
const testQenv = new Qenv(process.cwd(), process.cwd() + '/.nogit/');
|
const testQenv = new Qenv(process.cwd(), process.cwd() + '/.nogit/');
|
||||||
|
|
||||||
console.log(process.memoryUsage());
|
console.log(process.memoryUsage());
|
||||||
@ -80,7 +82,7 @@ tap.test('should save the car to the db', async (toolsArg) => {
|
|||||||
let counter = 0;
|
let counter = 0;
|
||||||
|
|
||||||
const gottenCarInstance = await Car.getInstance({});
|
const gottenCarInstance = await Car.getInstance({});
|
||||||
console.log(gottenCarInstance.testBuffer);
|
console.log(gottenCarInstance.testBuffer instanceof mongodb.Binary);
|
||||||
process.memoryUsage();
|
process.memoryUsage();
|
||||||
do {
|
do {
|
||||||
const myCar3 = new Car('red', 'Renault');
|
const myCar3 = new Car('red', 'Renault');
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@pushrocks/smartdata',
|
name: '@pushrocks/smartdata',
|
||||||
version: '5.0.6',
|
version: '5.0.7',
|
||||||
description: 'do more with data'
|
description: 'do more with data'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user