Skip to content

Commit a25de1f

Browse files
committed
Removed redundancy test case and update the test cases.
1 parent 8ba9480 commit a25de1f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ test("should throw error for malformed numeric input", () => {
3434
expect(() => getCardValue("2.9999♠")).toThrow("Invalid card rank");
3535
});
3636

37-
test("should throw error for repeated characters in rank", () => {
38-
expect(() => getCardValue("3AAAA♠")).toThrow("Invalid card rank");
39-
});
40-
4137
test("should throw error for number beyond valid range", () => {
4238
expect(() => getCardValue("11♠")).toThrow("Invalid card rank");
4339
});

0 commit comments

Comments
 (0)