chore(): add test logs

This commit is contained in:
Tiago Siebler
2024-10-01 16:19:47 +01:00
parent baa8e727cd
commit 5020cf52a0

View File

@@ -116,6 +116,11 @@ describe('Private Spot REST API POST Endpoints', () => {
data: expect.any(Array), data: expect.any(Array),
}); });
} catch (e) { } catch (e) {
console.log(
`"${expect.getState().currentTestName}"`,
JSON.stringify(e.body),
);
expect(e.body).toMatchObject({ expect(e.body).toMatchObject({
code: API_ERROR_CODE.INCORRECT_PERMISSIONS, code: API_ERROR_CODE.INCORRECT_PERMISSIONS,
}); });
@@ -142,6 +147,11 @@ describe('Private Spot REST API POST Endpoints', () => {
data: expect.any(Array), data: expect.any(Array),
}); });
} catch (e) { } catch (e) {
console.log(
`"${expect.getState().currentTestName}"`,
JSON.stringify(e.body),
);
expect(e.body).toMatchObject({ expect(e.body).toMatchObject({
code: API_ERROR_CODE.INCORRECT_PERMISSIONS, code: API_ERROR_CODE.INCORRECT_PERMISSIONS,
}); });