From b1c5b81f9443db13b9486b02eba4dffbe71618e3 Mon Sep 17 00:00:00 2001 From: Tiago Siebler Date: Tue, 20 Aug 2024 14:58:28 +0100 Subject: [PATCH] chore(): fix broken test --- test/spot/private.write.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/spot/private.write.test.ts b/test/spot/private.write.test.ts index 1c24182..7adc0df 100644 --- a/test/spot/private.write.test.ts +++ b/test/spot/private.write.test.ts @@ -201,9 +201,10 @@ describe('Private Spot REST API POST Endpoints', () => { try { expect(await api.cancelOrder(symbol, '123456')).toMatchObject({ ...sucessEmptyResponseObject(), - data: expect.any(Array), + data: '123456', //expect.any(Array), }); } catch (e) { + console.log('cancelorder err', e); expect(e.body).toMatchObject({ code: API_ERROR_CODE.ORDER_NOT_FOUND, });