Skip to content

Commit

Permalink
nit: fix syntax
Browse files Browse the repository at this point in the history
Co-authored-by: Dafydd Llŷr Pearson <[email protected]>
  • Loading branch information
zz-hh-aa and DafyddLlyr authored Jan 7, 2025
1 parent c468d60 commit 0315cb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/Mortgage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ it("correctly calculates the split between interest and principal", () => {
expect(breakdown[0].cumulativePaid).toBeCloseTo(16313.56);
expect(breakdown[0].remainingBalance).toBeCloseTo(88144.3);

expect(breakdown.length).toBe(25);})
expect(breakdown.length).toBe(25);
})

it("correctly calculates the total interest paid", () => {
expect(mortgage.totalInterest).toBeCloseTo(67839.31)
Expand Down

0 comments on commit 0315cb7

Please sign in to comment.