Skip to content

Commit 6450496

Browse files
committed
Fixed errors
1 parent be08b79 commit 6450496

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ test("should return 11 for Ace of Spades", () => {
99

1010
// Case 2: Handle Number Cards (2-10):
1111
test("should return correct value for number cards", () => {
12-
const fiveheart = getCardValue("5♥");
13-
expect(fiveheart).toEqual(5);
12+
const fiveHeart = getCardValue("5♥");
13+
expect(fiveHeart).toEqual(5);
1414
});
1515

1616
// Case 3: Handle Face Cards (J, Q, K):

0 commit comments

Comments
 (0)