chore(): fix broken test
This commit is contained in:
@@ -201,9 +201,10 @@ describe('Private Spot REST API POST Endpoints', () => {
|
|||||||
try {
|
try {
|
||||||
expect(await api.cancelOrder(symbol, '123456')).toMatchObject({
|
expect(await api.cancelOrder(symbol, '123456')).toMatchObject({
|
||||||
...sucessEmptyResponseObject(),
|
...sucessEmptyResponseObject(),
|
||||||
data: expect.any(Array),
|
data: '123456', //expect.any(Array),
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
console.log('cancelorder err', e);
|
||||||
expect(e.body).toMatchObject({
|
expect(e.body).toMatchObject({
|
||||||
code: API_ERROR_CODE.ORDER_NOT_FOUND,
|
code: API_ERROR_CODE.ORDER_NOT_FOUND,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user