fix integration tests
This commit is contained in:
@@ -29,15 +29,15 @@ describe('Private Spot REST API Endpoints', () => {
|
||||
});
|
||||
|
||||
it('getOpenOrders()', async () => {
|
||||
expect(await api.getOpenOrders()).toMatchObject(successResponseList(''));
|
||||
expect(await api.getOpenOrders()).toMatchObject(successResponseList());
|
||||
});
|
||||
|
||||
it('getPastOrders()', async () => {
|
||||
expect(await api.getPastOrders()).toMatchObject(successResponseList(''));
|
||||
expect(await api.getPastOrders()).toMatchObject(successResponseList());
|
||||
});
|
||||
|
||||
it('getMyTrades()', async () => {
|
||||
expect(await api.getMyTrades()).toMatchObject(successResponseList(''));
|
||||
expect(await api.getMyTrades()).toMatchObject(successResponseList());
|
||||
});
|
||||
|
||||
it('getBalances()', async () => {
|
||||
@@ -46,7 +46,7 @@ describe('Private Spot REST API Endpoints', () => {
|
||||
balances: expect.any(Array),
|
||||
},
|
||||
ret_code: 0,
|
||||
ret_msg: '',
|
||||
ret_msg: 'OK',
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user