Files
onspring-api-sdk-javascript/integrationTests/Ping/canConnect.spec.ts
T

15 lines
421 B
TypeScript
Raw Normal View History

import { OnspringClient } from '../../src';
import { expect } from 'chai';
import { baseURL, apiKey } from '../mochaRootHooks';
describe('canConnect', function () {
this.timeout(30000);
this.retries(3);
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;
});
});