Files

13 lines
547 B
TypeScript
Raw Permalink Normal View History

2026-05-05 12:01:30 +00:00
import { expect, tap } from '@git.zone/tstest/tapbundle';
import { createWolfSmartsetDiscoveryDescriptor } from '../../ts/integrations/wolf_smartset/index.js';
tap.test('matches manual Wolf Smartset setup hints', async () => {
const descriptor = createWolfSmartsetDiscoveryDescriptor();
const matcher = descriptor.getMatchers()[0];
const result = await matcher.matches({ host: 'wolf.local' }, {});
expect(result.matched).toBeTrue();
expect(result.candidate?.integrationDomain).toEqual('wolf_smartset');
});
export default tap.start();