12 lines
384 B
TypeScript
12 lines
384 B
TypeScript
import { OnspringClient } from '../../src/index';
|
|
import { expect } from 'chai';
|
|
import { baseURL, apiKey } from '../mochaRootHooks';
|
|
|
|
describe('canConnect', function () {
|
|
it('should be able to connect to the API', async function () {
|
|
const client = new OnspringClient(baseURL, apiKey);
|
|
const response = await client.canConnect();
|
|
expect(response).to.be.true;
|
|
});
|
|
});
|