This repository was archived by the owner on Jan 8, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/math-utils/src/formatters/gho Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ describe('formatGhoData', () => {
3636 expect ( result . userGhoDiscountPercent ) . toEqual ( 0.1 ) ;
3737 expect ( result . userGhoAvailableToBorrowAtDiscount ) . toEqual ( 10000 ) ;
3838 expect ( result . userDiscountTokenBalance ) . toEqual ( 100 ) ;
39- expect ( result . userGhoBorrowBalance ) . toEqual ( 1.1000000063419584 ) ;
40- expect ( result . userDiscountedGhoInterest ) . toEqual ( 0.9000000570776255 ) ;
39+ expect ( result . userGhoBorrowBalance ) . toEqual ( 1.9000000570776256 ) ;
40+ expect ( result . userDiscountedGhoInterest ) . toEqual ( 0.1000000063419584 ) ;
4141 } ) ;
4242
4343 it ( 'calculates the amount of GHO available to borrow at discount' , ( ) => {
@@ -53,8 +53,8 @@ describe('formatGhoData', () => {
5353 expect ( result . userGhoDiscountPercent ) . toEqual ( 0.1 ) ;
5454 expect ( result . userGhoAvailableToBorrowAtDiscount ) . toEqual ( 0 ) ;
5555 expect ( result . userDiscountTokenBalance ) . toEqual ( 0.1 ) ;
56- expect ( result . userGhoBorrowBalance ) . toEqual ( 1.1000000063419584 ) ;
57- expect ( result . userDiscountedGhoInterest ) . toEqual ( 0.9000000570776255 ) ;
56+ expect ( result . userGhoBorrowBalance ) . toEqual ( 1.9000000570776256 ) ;
57+ expect ( result . userDiscountedGhoInterest ) . toEqual ( 0.1000000063419584 ) ;
5858 } ) ;
5959
6060 it ( 'properly formats user summary with GHO discount' , ( ) => {
You can’t perform that action at this time.
0 commit comments