Skip to content

Commit

Permalink
fix(liquidation-sdk-viem): fix test values
Browse files Browse the repository at this point in the history
  • Loading branch information
0x666c6f committed Oct 24, 2024
1 parent 67fbc6b commit 869f72e
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -990,8 +990,8 @@ describe("erc4626-1inch", () => {
});

expect(format.number.of(decimalBalance, decimals)).toBeCloseTo(
7325.591839,
6,
7325.591825,
4,
);
},
);
Expand Down Expand Up @@ -1489,7 +1489,7 @@ describe("erc4626-1inch", () => {
args: [market.params, collateral, borrower.address, "0x"],
});

const borrowed = market.getMaxBorrowAssets(collateral)!;
const borrowed = market.getMaxBorrowAssets(collateral)! - 1n;
await client.deal({
erc20: loanToken.address,
account: borrower.address,
Expand Down Expand Up @@ -1615,8 +1615,8 @@ describe("erc4626-1inch", () => {
});

expect(format.number.of(decimalBalance, decimals)).toBeCloseTo(
8166.02223962,
8,
8166.02222392,
4,
);
},
);
Expand Down

0 comments on commit 869f72e

Please sign in to comment.