Skip to content

London | 26 - ITP-Sep | Ebrahim Moqbel | Sprint 3 | Implement and ewrite tests - #1609

Open
Ebrahim-Moqbel wants to merge 10 commits into
CodeYourFuture:mainfrom
Ebrahim-Moqbel:coursework/sprint-3-implement-and-rewrite
Open

London | 26 - ITP-Sep | Ebrahim Moqbel | Sprint 3 | Implement and ewrite tests#1609
Ebrahim-Moqbel wants to merge 10 commits into
CodeYourFuture:mainfrom
Ebrahim-Moqbel:coursework/sprint-3-implement-and-rewrite

Conversation

@Ebrahim-Moqbel

@Ebrahim-Moqbel Ebrahim-Moqbel commented Sep 4, 2026

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-1059

Changelist

completed the implement and rewrite tests directory

Questions

N/A

@github-actions

This comment has been minimized.

@Ebrahim-Moqbel Ebrahim-Moqbel 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 Sep 4, 2026
@Khantdotcom Khantdotcom added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Sep 5, 2026

@Khantdotcom Khantdotcom 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.

Mandatory fix : Typo in 3-get-card-value.js

return +rank;
}
if (!["K", "10", "Q", "J"].includes(rank)){
throw new error (`Invalid card rank: ${rank}`)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

You have a typo in this line, which will raise ReferenceError. Check out this article for Javascript Errors.

@Khantdotcom Khantdotcom added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 5, 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. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. 📅 Sprint 3 Assigned during Sprint 3 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants