From 0315cb7ab7fc25b96a585a28be04d88115f6da0b Mon Sep 17 00:00:00 2001 From: ollie <107874766+zz-hh-aa@users.noreply.github.com> Date: Tue, 7 Jan 2025 13:23:53 +0100 Subject: [PATCH] nit: fix syntax MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Dafydd Llŷr Pearson --- app/models/Mortgage.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/Mortgage.test.ts b/app/models/Mortgage.test.ts index 0e8612c5..356cff87 100644 --- a/app/models/Mortgage.test.ts +++ b/app/models/Mortgage.test.ts @@ -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)