Skip to content

Commit fa39a56

Browse files
committed
Fix repeatStr function parameters
1 parent c922c69 commit fa39a56

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function repeatStr() {
1+
function repeatStr(str, count) {
22
if (count < 0) {
33
throw new Error("invalid");
44
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"keywords": [],
1010
"author": "Code Your Future",
1111
"license": "ISC",
12-
"dependencies": {
13-
"jest": "^29.7.0"
12+
"devDependencies": {
13+
"jest": "^30.4.2"
1414
}
15-
}
15+
}

0 commit comments

Comments
 (0)