From 3ae0e7e0e8803a6b42d0a0ce947d27f78c36242f Mon Sep 17 00:00:00 2001 From: sadiabbasi Date: Fri, 20 Dec 2024 10:54:42 +0300 Subject: [PATCH] fix: :zap: fixed comments --- .../contracts/VestingContract.integration.test.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/test/services/blockchain/contracts/VestingContract.integration.test.ts b/test/services/blockchain/contracts/VestingContract.integration.test.ts index 5d693237..08a3f6f5 100644 --- a/test/services/blockchain/contracts/VestingContract.integration.test.ts +++ b/test/services/blockchain/contracts/VestingContract.integration.test.ts @@ -17,6 +17,9 @@ import { PrivateKey, Name } from '@wharfkit/antelope'; import { createRandomAccount } from '../../../helpers/eosio'; import { msigAction } from './governance'; import { jest } from '@jest/globals'; +import Debug from 'debug'; + +const debug = Debug('tonomy-sdk-tests:services:vesting-contract'); const vestingContract = VestingContract.Instance; const eosioTokenContract = EosioTokenContract.Instance; @@ -828,15 +831,14 @@ describe('VestingContract class', () => { // Store values in array vestingProgress.push({ time: new Date(currentTime).toISOString(), - unlockable: `${allocationDetails.unlockable.toFixed(6)} LEOS (${unlockablePercentage.toFixed(2)}%)`, - unlocked: `${allocationDetails.unlocked.toFixed(6)} LEOS (${unlockedPercentage.toFixed(2)}%)`, - locked: `${allocationDetails.locked.toFixed(6)} LEOS (${lockedPercentage.toFixed(2)}%)`, + unlockable: `${unlockablePercentage.toFixed(2)}%`, + unlocked: `${unlockedPercentage.toFixed(2)}%`, + locked: `${lockedPercentage.toFixed(2)}%`, totalAllocation: `${allocationDetails.totalAllocation.toFixed(6)} LEOS`, - }); } - console.log("vestingProgress:", vestingProgress); + debug("vestingProgress:", vestingProgress); }); });