fix: add timeout and retry settings to canConnect integration test

This commit is contained in:
Stevan Freeborn
2023-02-17 00:32:11 -06:00
parent 4b7bcc115f
commit b6bc26eabd
+3
View File
@@ -3,6 +3,9 @@ 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();