Skip to content

Commit

Permalink
feat: fixed test adding emode
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaquinBattilana committed Oct 22, 2024
1 parent 506a601 commit fad7f36
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions packages/math-utils/src/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class ReserveMock {
constructor(config: { decimals: number } = { decimals: 18 }) {
this.config = config;
this.reserve = {
originalId: 0,
originalId: 1,
id: '0x0',
symbol: 'TEST',
name: 'TEST',
Expand Down Expand Up @@ -128,7 +128,24 @@ export class UserReserveMock {
availableDebtCeilingUSD: '0',
isolationModeTotalDebtUSD: '0',
isIsolated: true,
eModes: [],
eModes: [
{
id: 1,
collateralEnabled: true,
borrowingEnabled: true,
eMode: {
ltv: '6000',
liquidationThreshold: '7000',
liquidationBonus: '0',
formattedLtv: '0.6',
formattedLiquidationThreshold: '0.7',
formattedLiquidationBonus: '0',
label: 'test emode',
collateralBitmap: '1',
borrowableBitmap: '1',
},
},
],
};
}

Expand Down

0 comments on commit fad7f36

Please sign in to comment.