Skip to content

Commit 6f5a3e7

Browse files
author
russom
committed
Restore untouched files to match main
1 parent 356a851 commit 6f5a3e7

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

Sprint-3/1-implement-and-rewrite-tests/implement/1-get-angle-type.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ function assertEquals(actualOutput, targetOutput) {
3434
// TODO: Write tests to cover all cases, including boundary and invalid cases.
3535
// Example: Identify Right Angles
3636
const right = getAngleType(90);
37-
assertEquals(right, "Right angle");
37+
assertEquals(right, "Right angle");

Sprint-3/1-implement-and-rewrite-tests/implement/2-is-proper-fraction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ function assertEquals(actualOutput, targetOutput) {
3030
// What combinations of numerators and denominators should you test?
3131

3232
// Example: 1/2 is a proper fraction
33-
assertEquals(isProperFraction(1, 2), true);
33+
assertEquals(isProperFraction(1, 2), true);

Sprint-3/1-implement-and-rewrite-tests/rewrite-tests-with-jest/2-is-proper-fraction.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ const isProperFraction = require("../implement/2-is-proper-fraction");
77
// Special case: numerator is zero
88
test(`should return false when denominator is zero`, () => {
99
expect(isProperFraction(1, 0)).toEqual(false);
10-
});
10+
});

Sprint-3/1-implement-and-rewrite-tests/rewrite-tests-with-jest/3-get-card-value.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ test(`Should return 11 when given an ace card`, () => {
1717
// To learn how to test whether a function throws an error as expected in Jest,
1818
// please refer to the Jest documentation:
1919
// https://jestjs.io/docs/expect#tothrowerror
20-
//k
20+

Sprint-3/2-practice-tdd/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ Recommended order:
1010

1111
1. `count.test.js`
1212
1. `repeat-str.test.js`
13-
1. `get-ordinal-number.test.js`
13+
1. `get-ordinal-number.test.js`

0 commit comments

Comments
 (0)