Skip to content

Commit c70c8dd

Browse files
Update repeat-str.test.js
1 parent 3eced1c commit c70c8dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const repeatStr = require("./repeat-str");
1+
//const repeatStr = require("./repeat-str");
22

33
// ───────────────────────────────────────────────────────
44
// Rule Summary:
@@ -7,7 +7,7 @@ const repeatStr = require("./repeat-str");
77
// • count = 0 → empty string ""
88
// • count < 0 → throw error (invalid input)
99
// ───────────────────────────────────────────────────────
10-
10+
const repeatStr = require("./repeat-str");
1111
// ── Case 1: Multiple repetitions (count > 1) ──
1212
test("repeats string correctly for count > 1", () => {
1313
expect(repeatStr("hello", 3)).toEqual("hellohellohello");

0 commit comments

Comments
 (0)