We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6220ca7 commit 78811e9Copy full SHA for 78811e9
1 file changed
Sprint-3/2-practice-tdd/count.test.js
@@ -23,4 +23,9 @@ test("should count multiple occurrences of a character", () => {
23
// When the function is called with these inputs,
24
// Then it should return 0, indicating that no occurrences of `char` were found.
25
26
-//for committing//
+test("No Occurrences", () => {
27
+ const str = "aaaaa";
28
+ const char = "b";
29
+ const count = countChar(str, char);
30
+ expect(count).toEqual(0);
31
+});
0 commit comments