add tests for private query endpoints

This commit is contained in:
tiagosiebler
2022-05-05 23:53:28 +01:00
parent 4ba36374cc
commit 749efad303
4 changed files with 108 additions and 68 deletions

View File

@@ -70,6 +70,10 @@ describe('Public Inverse REST API Endpoints', () => {
).toMatchObject(successResponseList());
});
it('getRiskLimitList()', async () => {
expect(await api.getRiskLimitList()).toMatchObject(successResponseList());
});
it('getLastFundingRate()', async () => {
expect(await api.getLastFundingRate({ symbol })).toMatchObject(
successResponseObject()