From 3942f7e3f52e6f63ccab6c6f24a05002e8686158 Mon Sep 17 00:00:00 2001 From: Tiago Siebler Date: Wed, 22 Mar 2023 17:04:14 +0000 Subject: [PATCH] fix(): fix broken test --- test/futures/private.write.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/futures/private.write.test.ts b/test/futures/private.write.test.ts index d7d5492..5446cca 100644 --- a/test/futures/private.write.test.ts +++ b/test/futures/private.write.test.ts @@ -279,8 +279,7 @@ describe('Private Futures REST API POST Endpoints', () => { } catch (e) { // expect(e).toBeNull(); expect(e.body).toMatchObject({ - // code: API_ERROR_CODE.FUTURES_ORDER_TPSL_NOT_FOUND, - code: API_ERROR_CODE.FUTURES_POSITION_DIRECTION_EMPTY, + code: API_ERROR_CODE.FUTURES_ORDER_TPSL_NOT_FOUND, }); } });