feat: add integration test for canConnect method

This commit is contained in:
Stevan Freeborn
2023-02-17 00:30:24 -06:00
parent ace07c9b10
commit 4b7bcc115f
+11
View File
@@ -0,0 +1,11 @@
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;
});
});