Skip to content

Sheffield | 25-ITP-Sep | Jak Rhodes-Smith | Sprint 3 | Coursework/sprint-3-practice-tdd#896

Closed
jakr-s wants to merge 4 commits into
CodeYourFuture:mainfrom
jakr-s:coursework/sprint-3-practice-tdd
Closed

Sheffield | 25-ITP-Sep | Jak Rhodes-Smith | Sprint 3 | Coursework/sprint-3-practice-tdd#896
jakr-s wants to merge 4 commits into
CodeYourFuture:mainfrom
jakr-s:coursework/sprint-3-practice-tdd

Conversation

@jakr-s

@jakr-s jakr-s commented Dec 1, 2025

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

Completed all mandatory tasks

@jakr-s jakr-s added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Dec 1, 2025

@cjyuan cjyuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code looks good.

Comment thread Sprint-3/2-practice-tdd/get-ordinal-number.test.js
@cjyuan cjyuan 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. labels Dec 1, 2025
@jakr-s jakr-s 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 Dec 3, 2025
Comment on lines +30 to 33
expect(getOrdinalNumber(14)).toEqual("14th");
expect(getOrdinalNumber(20)).toEqual("20th");
expect(getOrdinalNumber(100)).toEqual("100th");
expect(getOrdinalNumber(111)).toEqual("111th");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could probably pick one of each number that ends with 0, 4-9, 11-13 to make the test more complete.

@cjyuan cjyuan added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Dec 3, 2025
@cjyuan

cjyuan commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

All good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants