diff --git a/app/models/Mortgage.test.ts b/app/models/Mortgage.test.ts index 395131d..e3da8ab 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 ", () => {