From 8419ef6fb17b3ed5a08747f36515de7dabbd4827 Mon Sep 17 00:00:00 2001 From: Oleksandr Myshchyshyn Date: Wed, 13 Nov 2024 18:53:15 +0200 Subject: [PATCH] Remove console logs --- src/types/Time.ts | 1 - src/types/Transaction.test.ts | 4 ---- 2 files changed, 5 deletions(-) diff --git a/src/types/Time.ts b/src/types/Time.ts index 98fe069c..8844ec66 100644 --- a/src/types/Time.ts +++ b/src/types/Time.ts @@ -52,7 +52,6 @@ export class Duration { } static parseDurationString(durationStr: string): number { - console.log(durationStr); const parts = durationStr.match(/(\d+)([smhd])/g); if (!parts) throw new Error('Invalid duration format'); diff --git a/src/types/Transaction.test.ts b/src/types/Transaction.test.ts index f006ae09..a68036a4 100644 --- a/src/types/Transaction.test.ts +++ b/src/types/Transaction.test.ts @@ -75,10 +75,6 @@ describe('Test Transaction', () => { const toJson = TransactionV1.toJson(transaction); const parsed = TransactionV1.fromJSON(toJson.transaction); - console.log(toJson); - console.log(parsed); - console.log(JSON.stringify(toJson)); - const transactionPaymentAmount = parsed.body.args.args .get('amount')! .toString();