12 lines
473 B
TypeScript
12 lines
473 B
TypeScript
|
|
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||
|
|
import { DiscoveryDescriptor } from '../../ts/core/index.js';
|
||
|
|
|
||
|
|
tap.test('keeps probes, matchers, and validators inspectable', async () => {
|
||
|
|
const descriptor = new DiscoveryDescriptor({ integrationDomain: 'test', displayName: 'Test' });
|
||
|
|
expect(descriptor.getProbes()).toEqual([]);
|
||
|
|
expect(descriptor.getMatchers()).toEqual([]);
|
||
|
|
expect(descriptor.getValidators()).toEqual([]);
|
||
|
|
});
|
||
|
|
|
||
|
|
export default tap.start();
|