Skip to content

Commit

Permalink
fix: fixed 'principal' typo in test
Browse files Browse the repository at this point in the history
  • Loading branch information
zz-hh-aa committed Oct 17, 2024
1 parent 24f2ebb commit 18ec8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/Mortgage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 ", () => {
Expand Down

0 comments on commit 18ec8be

Please sign in to comment.