From a80dc70e9f8ebacb09c75418c1723a8a563443aa Mon Sep 17 00:00:00 2001 From: Joaquin Battilana Date: Mon, 14 Oct 2024 13:00:12 +0100 Subject: [PATCH] feat: fixed test --- packages/math-utils/src/pool-math.test.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/packages/math-utils/src/pool-math.test.ts b/packages/math-utils/src/pool-math.test.ts index 703f70ed..d991e4b0 100644 --- a/packages/math-utils/src/pool-math.test.ts +++ b/packages/math-utils/src/pool-math.test.ts @@ -4,7 +4,6 @@ import { getCompoundedBalance, calculateLinearInterest, getReserveNormalizedIncome, - getCompoundedStableBalance, calculateHealthFactorFromBalances, calculateHealthFactorFromBalancesBigUnits, calculateAvailableBorrowsMarketReferenceCurrency, @@ -106,19 +105,6 @@ describe('pool math', () => { ); }); - it('should calculate compounded stable balances', () => { - const compoundedStableBalanceRequest = { - principalBalance: 2000000000000000000, - userStableRate: 500000000000000000, - currentTimestamp: 1749942229, - lastUpdateTimestamp: 1629942229, - }; - const compoundedStableBalance = getCompoundedStableBalance( - compoundedStableBalanceRequest, - ); - expect(compoundedStableBalance.toFixed()).toEqual('2000000003805175038'); - }); - it('should calculate health factor', () => { const minHealthFactorRequest = { collateralBalanceMarketReferenceCurrency: 100000000000000000,