fix(core): update
This commit is contained in:
14
test/test.ts
Normal file
14
test/test.ts
Normal 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();
|
Reference in New Issue
Block a user