Skip to content

Commit a2518fa

Browse files
committed
Add tests to 1-implement-and-rewrite-tests/rewrite-tests-with-jest/3-get-card-value.test.js
1 parent 312b092 commit a2518fa

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ test(`Should return an error for an invalid card`, () => {
2525
expect(getCardValue("2")).toThrowError();
2626
expect(getCardValue("Q")).toThrowError();
2727
expect(getCardValue("5")).toThrowError();
28+
expect(getCardValue("")).toThrowError();
29+
expect(getCardValue("11♠")).toThrowError();
30+
expect(getCardValue("S♠")).toThrowError();
2831
});
2932

3033
// Suggestion: Group the remaining test data into these categories:

0 commit comments

Comments
 (0)