USDC request param typings

This commit is contained in:
tiagosiebler
2022-09-08 18:24:18 +01:00
parent 5187350878
commit 557ddc90f5
8 changed files with 382 additions and 58 deletions

View File

@@ -36,8 +36,8 @@ describe('Public USDC Options REST API Endpoints', () => {
);
});
it('getLastTrades()', async () => {
expect(await api.getLastTrades({ category: 'OPTION' })).toMatchObject(
it('getLast500Trades()', async () => {
expect(await api.getLast500Trades({ category: 'OPTION' })).toMatchObject(
successUSDCResponseObject()
);
});

View File

@@ -41,6 +41,7 @@ describe('Private Account Asset REST API Endpoints', () => {
symbol,
orderId: 'somethingFake',
orderPrice: '20000',
orderFilter: 'Order',
})
).toMatchObject({
retCode: API_ERROR_CODE.ORDER_NOT_FOUND_OR_TOO_LATE,