Skip to content

London | 26-ITP-May |Rizqah Popoola | Sprint 3 | practice tdd#1498

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

London | 26-ITP-May |Rizqah Popoola | Sprint 3 | practice tdd#1498
risikatpopoola wants to merge 3 commits into
CodeYourFuture:mainfrom
risikatpopoola:coursework/sprint-3-practice-tdd

Conversation

@risikatpopoola

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

Changelist

This PR Involves implementing functions to count, get ordinal number and repeat string as well as writing tests in jests for them.

@risikatpopoola risikatpopoola 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. Module-Structuring-And-Testing-Data The name of the module. labels Jul 11, 2026
@LonMcGregor LonMcGregor added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Jul 20, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start, see my comment for places to improve further

Comment thread Sprint-3/2-practice-tdd/count.test.js Outdated
// And a character `char` that does not exist within `str`.
// When the function is called with these inputs,
// Then it should return 0, indicating that no occurrences of `char` were found.
test("should count multiple occurrences of a character", () => {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these test descriptions match what is being tested?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have now reviewed these, thank you

Comment thread Sprint-3/2-practice-tdd/repeat-str.js Outdated
@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Jul 20, 2026
cjyuan

This comment was marked as duplicate.

@cjyuan

cjyuan commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Please ignore my comments.

@risikatpopoola risikatpopoola added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Module-Structuring-And-Testing-Data The name of the module. 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.

3 participants