15 lines
377 B
TypeScript
15 lines
377 B
TypeScript
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.createAndInit();
|
|
});
|
|
|
|
tap.test('should stop the instance', async () => {
|
|
await smartmongoInstance.stop();
|
|
})
|
|
|
|
tap.start();
|