Readplace

:white_check_mark: Return expected result from 'interestToPayForDolla… · FagnerMartinsBrack/jack-the-moneylender@128f784

GitHub 1 min read
View original
  • current

This article is too short to summarise.

Commit 128f784

committed

✅ Return expected result from 'interestToPayForDollars()'

1 file changed

Lines changed: 3 additions & 1 deletion

Lines changed: 3 additions & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -12,7 +12,9 @@

1212

});

1313
1414

QUnit.test('$2 Loan Amount', (assert) => {

15-

const interestToPayForDollars = () => {};

15+

const interestToPayForDollars = () => {

16+

return 0;

17+

};

1618

strictEqual({ expected: 0, actual: interestToPayForDollars(2) }, assert);

1719

});

1820

</script>

0 commit comments

Comments

 (0)