Skip to content

Commit 6c17f89

Browse files
committed
repeat.js updated template
1 parent 7e9160d commit 6c17f89

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ function repeat() {
33
}
44

55
module.exports = repeat;
6+
7+
test("should repeat the given word three times", () => {
8+
expect(repeat("hi", 3)).toBe("hihihi");
9+
});

0 commit comments

Comments
 (0)