fix integration tests
This commit is contained in:
@@ -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',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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 () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user