nullresolve/test/test.node.ts
2024-12-26 00:29:13 +01:00

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();