15 lines
453 B
TypeScript
15 lines
453 B
TypeScript
|
import { tap, expect } from '@push.rocks/tapbundle';
|
||
|
|
||
|
import * as nullresolve from '../ts/index.js';
|
||
|
|
||
|
let nullresolveInstance: nullresolve.NullResolve;
|
||
|
|
||
|
tap.test('should create, start and stop an instance of nullresolve', async () => {
|
||
|
nullresolveInstance = new nullresolve.NullResolve();
|
||
|
expect(nullresolveInstance).toBeInstanceOf(nullresolve.NullResolve);
|
||
|
await nullresolveInstance.start();
|
||
|
await nullresolveInstance.stop();
|
||
|
});
|
||
|
|
||
|
tap.start();
|