From 5020cf52a00c1a9e9e02209c87dd22aa7929da66 Mon Sep 17 00:00:00 2001 From: Tiago Siebler Date: Tue, 1 Oct 2024 16:19:47 +0100 Subject: [PATCH] chore(): add test logs --- test/spot/private.write.test.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/spot/private.write.test.ts b/test/spot/private.write.test.ts index 7adc0df..f348451 100644 --- a/test/spot/private.write.test.ts +++ b/test/spot/private.write.test.ts @@ -116,6 +116,11 @@ describe('Private Spot REST API POST Endpoints', () => { data: expect.any(Array), }); } catch (e) { + console.log( + `"${expect.getState().currentTestName}"`, + JSON.stringify(e.body), + ); + expect(e.body).toMatchObject({ code: API_ERROR_CODE.INCORRECT_PERMISSIONS, }); @@ -142,6 +147,11 @@ describe('Private Spot REST API POST Endpoints', () => { data: expect.any(Array), }); } catch (e) { + console.log( + `"${expect.getState().currentTestName}"`, + JSON.stringify(e.body), + ); + expect(e.body).toMatchObject({ code: API_ERROR_CODE.INCORRECT_PERMISSIONS, });