From 18ec8be3fce410f640fc6cb8ecaf8795472f7bd5 Mon Sep 17 00:00:00 2001 From: zzhhaa Date: Thu, 17 Oct 2024 15:23:18 +0100 Subject: [PATCH] fix: fixed 'principal' typo in test --- app/models/Mortgage.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/Mortgage.test.ts b/app/models/Mortgage.test.ts index 395131d3..e3da8ab7 100644 --- a/app/models/Mortgage.test.ts +++ b/app/models/Mortgage.test.ts @@ -18,7 +18,7 @@ it("correctly calculates the amount of the mortgage ", () => { initialDeposit: 0.1, }); - expect(mortgage.principle).toBeCloseTo(90); + expect(mortgage.principal).toBeCloseTo(90); }); it("correctly calculates the amount of monthly payment ", () => {