Readplace

:red_circle: Add test for $1 loan amount · FagnerMartinsBrack/jack-the-moneylender@caf9940

GitHub 1 min read
View original
  • current

This article is too short to summarise.

Original file line numberDiff line numberDiff line change

@@ -6,7 +6,8 @@

66

assert.strictEqual(actual, expected);

77

}

88
9-

QUnit.test('works', (assert) => {

10-

strictEqual({ expected: true, actual: true }, assert);

9+

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

10+

const interestToPay = undefined;

11+

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

1112

});

1213

</script>