Skip to content

Commit 0a1ed8c

Browse files
committed
Little change made
1 parent b57c404 commit 0a1ed8c

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 number cards for (2-10)", () => {
12-
const aceofSpades = getCardValue("5♠");
13-
expect(aceofSpades).toEqual(5);
12+
const aceofSpades = getCardValue("6♠");
13+
expect(aceofSpades).toEqual(6);
1414
});
1515

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

0 commit comments

Comments
 (0)