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 b8bc634 commit 245f285Copy full SHA for 245f285
Sprint-3/2-practice-tdd/repeat-str.test.js
@@ -96,6 +96,5 @@ test("should return error message for string input with undefined count", () =>
96
97
test('should have the correct amount of arguments', () => {
98
expect(() => repeatStr('hello')).toThrow(new Error("Function requires exactly two arguments: a string and a count. Received 1 arguments"));
99
- expect(() => repeatStr("hello", 3, 3)).toThrow(new Error("Function requires exactly two arguments: a string and a count. Received 3 arguments"));
100
})
101
0 commit comments