Add TypeScript integrations package

This commit is contained in:
2026-05-05 12:01:30 +00:00
commit e91176fb9b
5889 changed files with 53433 additions and 0 deletions
@@ -0,0 +1,12 @@
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();