mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
removed other console.log
This commit is contained in:
parent
6df8a7a6e0
commit
72e2102529
|
@ -375,19 +375,6 @@ export const borrow = async (
|
|||
txCost
|
||||
);
|
||||
|
||||
console.log("Expected available liquidity: ", expectedReserveData.availableLiquidity.toFixed());
|
||||
console.log("Expected total liquidity: ", expectedReserveData.totalLiquidity.toFixed());
|
||||
console.log("Expected total debt stable: ", expectedReserveData.totalStableDebt.toFixed());
|
||||
console.log("Expected total debt variable: ", expectedReserveData.totalVariableDebt.toFixed());
|
||||
console.log("Expected utilization rate: ", expectedReserveData.utilizationRate.toFixed());
|
||||
|
||||
console.log("actual available liquidity: ", reserveDataAfter.availableLiquidity.toFixed());
|
||||
console.log("actual total liquidity: ", reserveDataAfter.totalLiquidity.toFixed());
|
||||
console.log("actual total debt stable: ", reserveDataAfter.totalStableDebt.toFixed());
|
||||
console.log("actual total debt variable: ", reserveDataAfter.totalVariableDebt.toFixed());
|
||||
console.log("actual utilization rate: ", reserveDataAfter.utilizationRate.toFixed());
|
||||
console.log("User debt: ", userDataAfter.currentStableDebt.toFixed(0));
|
||||
|
||||
expectEqual(reserveDataAfter, expectedReserveData);
|
||||
expectEqual(userDataAfter, expectedUserData);
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import {executeStory} from './helpers/scenario-engine';
|
|||
|
||||
const scenarioFolder = './test/helpers/scenarios/';
|
||||
|
||||
const selectedScenarios: string[] = ['withdraw.json'];
|
||||
const selectedScenarios: string[] = ['borrow-repay-variable.json'];
|
||||
|
||||
fs.readdirSync(scenarioFolder).forEach((file) => {
|
||||
if (selectedScenarios.length > 0 && !selectedScenarios.includes(file)) return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user