Skip to content

Manchester | 26-ITP-Sep | Salah Alsabhi | Sprint 2 | practice tdd - #1680

Open
salahalsabhi wants to merge 3 commits into
CodeYourFuture:mainfrom
salahalsabhi:coursework/sprint-2-practice-tdd
Open

salahalsabhi wants to merge 3 commits into
CodeYourFuture:mainfrom
salahalsabhi:coursework/sprint-2-practice-tdd

Conversation

@salahalsabhi

Copy link
Copy Markdown

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

Task code

CYF-1060

Changelist

Practice TDD: countChar, repeatStr, getOrdinalNumber

Questions

No questions

@github-actions

This comment has been minimized.

@salahalsabhi salahalsabhi changed the title Manchester | 26-ITP-Sep | Salah Alsabhi |Sprint-2 | Coursework/sprint 2 practice tdd Manchester | 26-ITP-Sep | Salah Alsabhi |Sprint-2 | practice tdd Oct 11, 2026
@github-actions

This comment has been minimized.

@salahalsabhi salahalsabhi changed the title Manchester | 26-ITP-Sep | Salah Alsabhi |Sprint-2 | practice tdd Manchester | 26-ITP-Sep | Salah Alsabhi | Sprint-2 | practice tdd Oct 11, 2026
@github-actions

This comment has been minimized.

@salahalsabhi salahalsabhi changed the title Manchester | 26-ITP-Sep | Salah Alsabhi | Sprint-2 | practice tdd Manchester | 26-ITP-Sep | Salah Alsabhi | Sprint 2 | practice tdd Oct 11, 2026
@salahalsabhi

Copy link
Copy Markdown
Author

Completed practice-tdd exercises with Jest tests:

  • countChar (case-insensitive counting)
  • repeatStr (no String.repeat; handles 0 and negative)
  • getOrdinalNumber (st/nd/rd/th with 11–13 exceptions)

All 12 tests pass.

@salahalsabhi salahalsabhi added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Oct 11, 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant