Skip to content

Commit

Permalink
chore(): cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagosiebler committed Sep 26, 2024
1 parent 0ca4f3e commit fbb042a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/CBExchangeClient/private.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ describe('CBExchangeClient PRIVATE', () => {

test('with params', async () => {
const res = await rest.getTransfers({ type: 'deposit' });
console.log('res with params', res);
console.log(`res "${expect.getState().currentTestName}"`, res);

expect(res).toEqual(expect.arrayContaining([expect.any(Object)]));
});
});
Expand All @@ -67,7 +68,8 @@ describe('CBExchangeClient PRIVATE', () => {
} catch (e: any) {
// These are deliberatly restricted API keys. If the response is a permission error, it confirms the sign + request was OK and permissions were denied.
// console.log(`err "${expect.getState().currentTestName}"`, e?.body);
console.log('Error, CBExchange, post req:', e);
console.log(`Error, "${expect.getState().currentTestName}"`, e);

const responseBody = e?.body;
expect(responseBody).toMatchObject({
message: 'Forbidden',
Expand Down

0 comments on commit fbb042a

Please sign in to comment.