Skip to content

Commit 5b0a96e

Browse files
committed
The implementation of all tests has been passed.
1 parent 8accc29 commit 5b0a96e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ test("should throw error for non-string input", () => {
5050
expect(() => getCardValue(5)).toThrow("Card must be a string");
5151
});
5252

53-
// try {
54-
// getCardValue("Z♠");
55-
//} catch (error) {
56-
// console.log("Caught error:", error.message);
57-
//}
53+
try {
54+
getCardValue("Z♠");
55+
} catch (error) {
56+
console.log("Caught error:", error.message);
57+
}
5858

5959

0 commit comments

Comments
 (0)