fix integration tests

This commit is contained in:
tiagosiebler
2022-08-18 17:16:28 +01:00
parent 6aceea7879
commit c5385957c9
2 changed files with 5 additions and 5 deletions

View File

@@ -29,15 +29,15 @@ describe('Private Spot REST API Endpoints', () => {
}); });
it('getOpenOrders()', async () => { it('getOpenOrders()', async () => {
expect(await api.getOpenOrders()).toMatchObject(successResponseList('')); expect(await api.getOpenOrders()).toMatchObject(successResponseList());
}); });
it('getPastOrders()', async () => { it('getPastOrders()', async () => {
expect(await api.getPastOrders()).toMatchObject(successResponseList('')); expect(await api.getPastOrders()).toMatchObject(successResponseList());
}); });
it('getMyTrades()', async () => { it('getMyTrades()', async () => {
expect(await api.getMyTrades()).toMatchObject(successResponseList('')); expect(await api.getMyTrades()).toMatchObject(successResponseList());
}); });
it('getBalances()', async () => { it('getBalances()', async () => {
@@ -46,7 +46,7 @@ describe('Private Spot REST API Endpoints', () => {
balances: expect.any(Array), balances: expect.any(Array),
}, },
ret_code: 0, ret_code: 0,
ret_msg: '', ret_msg: 'OK',
}); });
}); });
}); });

View File

@@ -24,7 +24,7 @@ describe('Public Spot REST API Endpoints', () => {
}); });
it('getSymbols()', async () => { it('getSymbols()', async () => {
expect(await api.getSymbols()).toMatchObject(successResponseList('')); expect(await api.getSymbols()).toMatchObject(successResponseList());
}); });
it('getOrderBook()', async () => { it('getOrderBook()', async () => {