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 c518625 commit 51060d9Copy full SHA for 51060d9
Sprint-3/2-practice-tdd/count.test.js
@@ -12,9 +12,9 @@ const countChar = require("./count");
12
13
test("should count multiple occurrences of a character", () => {
14
const str = "aaaaa";
15
- const char = "b";
+ const char = "a";
16
const count = countChar(str, char);
17
- expect(count).toEqual(3);
+ expect(count).toEqual(5);
18
});
19
20
// Scenario: No Occurrences
0 commit comments