Skip to content

Commit ab31f3e

Browse files
committed
Add another invalid value on 3-get-card-value.test.js
1 parent de6c0ad commit ab31f3e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ test("should throw an error for invalid cards", () => {
2828
expect(() => getCardValue("1♠")).toThrow();
2929
expect(() => getCardValue("11♣")).toThrow();
3030
expect(() => getCardValue("Z♥")).toThrow();
31+
expect(() => getCardValue("0♠")).toThrow();
3132
expect(() => getCardValue("invalid")).toThrow();
3233
});
3334
// Suggestion: Group the remaining test data into these categories:

0 commit comments

Comments
 (0)