10 lines
349 B
TypeScript
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();
|