Files
api/test/test.node.ts
T
2026-05-05 12:03:46 +00:00

10 lines
349 B
TypeScript

import { expect, tap } from '@git.zone/tstest/tapbundle';
import { SmarthomeExchangeApiClient } from '../ts/index.js';
tap.test('creates an API client', async () => {
const client = new SmarthomeExchangeApiClient({ hubUrl: 'http://localhost:8080/' });
expect(client).toBeInstanceOf(SmarthomeExchangeApiClient);
});
export default tap.start();