Skip to content

Commit 7a00c6a

Browse files
fix: correct variable name for Ace of Spades test in getCardValue tests
1 parent 26a3119 commit 7a00c6a

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
@@ -3,8 +3,8 @@
33
const getCardValue = require("../implement/3-get-card-value");
44

55
test("should return 11 for Ace of Spades", () => {
6-
const aceofSpades = getCardValue("A♠");
7-
expect(aceofSpades).toEqual(11);
6+
const aceOfSpades = getCardValue("A♠");
7+
expect(aceOfSpades).toEqual(11);
88
});
99

1010
// Case 2: Handle Number Cards (2-10):

0 commit comments

Comments
 (0)