Skip to content

Commit b8bc634

Browse files
authored
Merge branch 'main' into coursework/sprint-3-practice-tdd
2 parents 86d69fb + 5dc9452 commit b8bc634

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sprint-3/2-practice-tdd/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ Write the tests _before_ the code that will make them pass.
99
Recommended order:
1010

1111
1. `count.test.js`
12-
1. `repeat.test.js`
12+
1. `repeat-str.test.js`
1313
1. `get-ordinal-number.test.js`

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// Implement a function repeat
1+
// Implement a function repeatStr
22
const repeatStr = require("./repeat-str");
33
// Given a target string str and a positive integer count,
4-
// When the repeat function is called with these inputs,
4+
// When the repeatStr function is called with these inputs,
55
// Then it should:
66

77
// case: repeat String:
88
// Given a target string str and a positive integer count,
9-
// When the repeat function is called with these inputs,
9+
// When the repeatStr function is called with these inputs,
1010
// Then it should repeat the str count times and return a new string containing the repeated str values.
1111

1212
test("should repeat the string count times", () => {

0 commit comments

Comments
 (0)