fix(core): update

This commit is contained in:
2021-12-20 15:58:23 +01:00
commit 65cbc97e83
13 changed files with 28222 additions and 0 deletions

14
test/test.ts Normal file
View File

@ -0,0 +1,14 @@
import { expect, tap } from '@pushrocks/tapbundle';
import * as smartmongo from '../ts/index';
let smartmongoInstance: smartmongo.SmartMongo;
tap.test('should create a mongo instance', async () => {
smartmongoInstance = await smartmongo.SmartMongo.createInstance();
});
tap.test('should stop the instance', async () => {
await smartmongoInstance.stop();
})
tap.start();