Skip to content

Manchester | 26-ITP-May | Abdu Hassen | Sprint 2 | Data-groups - #1313

Open
Abduhasen wants to merge 5 commits into
CodeYourFuture:mainfrom
Abduhasen:sprint-2-data-groups-back-log
Open

Manchester | 26-ITP-May | Abdu Hassen | Sprint 2 | Data-groups #1313
Abduhasen wants to merge 5 commits into
CodeYourFuture:mainfrom
Abduhasen:sprint-2-data-groups-back-log

Conversation

@Abduhasen

Copy link
Copy Markdown

…based on tdd

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

-fixing code based on test
-writing codes based on test driven development
-writing tests

Questions

N/A

@Abduhasen Abduhasen added 📅 Sprint 2 Assigned during Sprint 2 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Data-Groups The name of the module. labels Jul 27, 2026
@LonMcGregor LonMcGregor added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Aug 1, 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 work, still some things to work on

Comment thread Sprint-2/implement/contains.js Outdated
return false;
}
for (const keyProperty in givenObject) {
console.log(keyString);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why do you need to do console.log here?

Comment thread Sprint-2/implement/querystring.js Outdated
Comment thread Sprint-2/interpret/invert.js Outdated
word key and pairing it withe the last loop value. */

// e) Fix the implementation of invert (and write tests to prove it's fixed!)
/* function invert(obj) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can you un-comment this, comment the broken original, and then try writing some tests to see if this is correct?

@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 Aug 1, 2026
@Abduhasen Abduhasen 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 Aug 5, 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.

Very close to being complete now

Comment thread Sprint-2/interpret/invert.js Outdated
30: "z",
});
test("swapping key and value of the object", invert({ x: 10, y: 20, z: 30 }), {
x: 10,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Double check this last test, do you have the correct expected value?

@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. labels Aug 5, 2026
@Abduhasen Abduhasen 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 Aug 5, 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.

Great, these tests are passing now. Good work on these tasks

@LonMcGregor LonMcGregor 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 Aug 5, 2026
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. Module-Data-Groups The name of the module. 📅 Sprint 2 Assigned during Sprint 2 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants