Skip to content

Commit 4bfa7d6

Browse files
committed
fixed indenation in arrow function
1 parent 4b6af75 commit 4bfa7d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ test("should return an empty string when count is 0", () => {
4242
// Given a target string `str` and a negative integer `count`,
4343
// When the repeatStr function is called with these inputs,
4444
// Then it should throw an error, as negative counts are not valid.
45-
test("should throw an error when count is negative", () => { const str = "hello";
45+
test("should throw an error when count is negative", () => {
46+
const str = "hello";
4647
const count = -1;
4748
expect(() => repeatStr(str, count)).toThrow();
4849
});

0 commit comments

Comments
 (0)