Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffywu committed Jun 27, 2022
1 parent 0351230 commit ba64006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/Market.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('Market', () => {
it('formats interest rates', () => {
expect(Market.formatInterestRate(RATE_PRECISION)).toBe('100.000%');
expect(Market.formatInterestRate(0.151232e9)).toBe('15.123%');
expect(Market.formatInterestRate(0)).toBe('');
expect(Market.formatInterestRate(0)).toBe('0.000%');
});

it('calculates the max interest rate, 18%', () => {
Expand Down

0 comments on commit ba64006

Please sign in to comment.