chore(): fix broken test

This commit is contained in:
Tiago Siebler
2024-08-20 14:58:28 +01:00
parent 2526baea69
commit b1c5b81f94

View File

@@ -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,
}); });