Skip to content

Commit d3d3582

Browse files
added a comment
1 parent ea6c7f2 commit d3d3582

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Sprint-3/2-practice-tdd/count.test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,8 @@ test("should count multiple occurrences of a character", () => {
5757
const count = countChar(str, char);
5858
expect(count).toEqual(4);
5959
});
60+
61+
//handling invalid input
62+
//the tests work assuming that only letters are in the string - no numbers or special characters
63+
64+

0 commit comments

Comments
 (0)