Update repeatString to take alternative strings in tests
To help avoid students hard coding certain elements of the function, the tests should be updated to pass in a different string for each individual test instead of each test passing in "hey".
Completion Criteria:
- [ ] Each test in
repeatString.spec.jshas its own unique string that it passes ineg: repeatString(10, "hello"); repeatString(5, "goodbye") - [ ] The
expect()is updated to reflect this new string - [ ] Test passes
- [ ]
solutionsandmainbranch both have these changes
I'd love to work on this.
@Maheshkumar-novice assigned.
i would love to work on this pls assign NOW
Go ahead @ghost-2362003
hey @CouchofTomato i made a mistake i accidently forked only the main branch and made the change there i am creating a pull request pls take a look asap ASAP
I've been trying to study the solution but I don't seems to get it, though I passed the test using string.repeat() and it works fine, I don't understand how the loop works here.
@We-techdesign4u I recomend you join us on discord, lots of help and advice to be had.
Hi, can I work on this?
It looks like someone else was assigned. @ghost-2362003 any updates? It looks like your previous PR was closed for not filling out the template and required information.
Hi, can this be assigned to me?
@kumang-subba All yours
hey pls assign me this i can help here