Skip to content

ZA|Innocent Niwatwine| Data-groups Sprint-2 #629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

InnocentNiwatwine
Copy link

@InnocentNiwatwine InnocentNiwatwine commented Jul 16, 2025

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

Briefly explain your PR.

Questions

Ask any questions you have for your reviewer.

@InnocentNiwatwine InnocentNiwatwine changed the title Sprint-2 ZA|Innocent Niwatwine| Data-groups Sprint-2 Jul 16, 2025
// e) Fix the implementation of invert (and write tests to prove it's fixed!)
module.exports = invert;

Choose a reason for hiding this comment

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

Please add the test file for this.

Copy link
Author

Choose a reason for hiding this comment

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

Okay thank you

@Waldo-Strydom Waldo-Strydom added 👀 Review Git Changes requested to do with Git Reviewed Volunteer to add when completing a review labels Jul 17, 2025
@InnocentNiwatwine InnocentNiwatwine added the Needs Review Participant to add when requesting review label Jul 19, 2025
const currentOutput = invert({ a: 1, b: 2, c: 3 });
const targetOutput = { "1": "a", "2": "b", "3": "c" };

expect(currentOutput).toEqual(targetOutput);

Choose a reason for hiding this comment

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

Please add the test file.

@Waldo-Strydom Waldo-Strydom removed the Needs Review Participant to add when requesting review label Jul 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👀 Review Git Changes requested to do with Git Reviewed Volunteer to add when completing a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants