Skip to content

Commit

Permalink
fix: ⚡ fixed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sadiabbasi committed Dec 20, 2024
1 parent 25a7414 commit 3ae0e7e
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);

});
});
Expand Down

0 comments on commit 3ae0e7e

Please sign in to comment.