Skip to content

Commit 5cfbd49

Browse files
committed
More fixes
1 parent 8b4f165 commit 5cfbd49

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function getCardValue(card) {
5757
const validNumericRanks = ["2", "3", "4", "5", "6", "7", "8", "9", "10"];
5858
if (validNumericRanks.includes(rank)) {
5959
return Number(rank);
60-
} cd
60+
}
6161

6262
throw new Error("Invalid card: unknown rank");
6363
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe("getAngleType", () => {
3838
});
3939

4040
// Case 6: Invalid angles
41-
test('should return "Invalid angle" for values ≤ 0 or > 360', () => {
41+
test('should return "Invalid angle" for values ≤ 0 or >= 360', () => {
4242
expect(getAngleType(0)).toBe("Invalid angle");
4343
expect(getAngleType(-10)).toBe("Invalid angle");
4444
expect(getAngleType(-1)).toBe("Invalid angle");

0 commit comments

Comments
 (0)