fix: add timeout and retry settings to canConnect integration test
This commit is contained in:
@@ -3,6 +3,9 @@ import { expect } from 'chai';
|
|||||||
import { baseURL, apiKey } from '../mochaRootHooks';
|
import { baseURL, apiKey } from '../mochaRootHooks';
|
||||||
|
|
||||||
describe('canConnect', function () {
|
describe('canConnect', function () {
|
||||||
|
this.timeout(30000);
|
||||||
|
this.retries(3);
|
||||||
|
|
||||||
it('should be able to connect to the API', async function () {
|
it('should be able to connect to the API', async function () {
|
||||||
const client = new OnspringClient(baseURL, apiKey);
|
const client = new OnspringClient(baseURL, apiKey);
|
||||||
const response = await client.canConnect();
|
const response = await client.canConnect();
|
||||||
|
|||||||
Reference in New Issue
Block a user