Skip to content

London | 26-ITP-Feb | Shuheda Begum | Sprint 3 | TDD#1075

Open
codebyshay wants to merge 1 commit intoCodeYourFuture:mainfrom
codebyshay:Sprint-3-TDD
Open

London | 26-ITP-Feb | Shuheda Begum | Sprint 3 | TDD#1075
codebyshay wants to merge 1 commit intoCodeYourFuture:mainfrom
codebyshay:Sprint-3-TDD

Conversation

@codebyshay
Copy link

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

  • Implement repeatStr to repeat a string a given number of times
  • Handles count = 0, count = 1, count > 1
  • Throws error for negative counts
  • Add Jest tests covering:
    • multiple repetitions
    • single repetition
    • zero repetitions
    • negative counts

Questions

No questions.

- Implement repeatStr to repeat a string a given number of times
- Handles count = 0, count = 1, count > 1
- Throws error for negative counts
- Add Jest tests covering:
  - multiple repetitions
  - single repetition
  - zero repetitions
  - negative counts
@codebyshay codebyshay added 📅 Sprint 3 Assigned during Sprint 3 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. 📅 Sprint 3 Assigned during Sprint 3 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant