File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ Write the tests _before_ the code that will make them pass.
99Recommended order:
1010
11111 . ` count.test.js `
12- 1 . ` repeat.test.js `
12+ 1 . ` repeat-str .test.js `
13131 . ` get-ordinal-number.test.js `
Original file line number Diff line number Diff line change 1- // Implement a function repeat
1+ // Implement a function repeatStr
22const 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
1212test ( "should repeat the string count times" , ( ) => {
You can’t perform that action at this time.
0 commit comments