Skip to content

Commit 245f285

Browse files
committed
removed test for more than 2 arguments
1 parent b8bc634 commit 245f285

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Sprint-3/2-practice-tdd/repeat-str.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,5 @@ test("should return error message for string input with undefined count", () =>
9696

9797
test('should have the correct amount of arguments', () => {
9898
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"));
10099
})
101100

0 commit comments

Comments
 (0)