Birmingham | ITP-Jan-26 | Ayodeji Ayorinde | Sprint 1| Coursework/Sprint1#1063
Birmingham | ITP-Jan-26 | Ayodeji Ayorinde | Sprint 1| Coursework/Sprint1#1063Ayogit1 wants to merge 3 commits intoCodeYourFuture:mainfrom
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
cjyuan
left a comment
There was a problem hiding this comment.
You missed updating a few files in this Sprint-1 exercise. Can you check the instructions in README.md and update the files you missed?
You are also supposed to implement the tests in the Since this PR is not a required evidence in Step 3 submission, you can complete this PR when you have time. |
|
@cjyuan Are you happy to make this complete now as I have few days to finish up. Thanks for all your help.
|
|
I won't mark this as complete for the reason I stated. And it won't affect your Step 3 completion. If you have made changes, you will need to push them to GitHub. |
|
Thanks, changes have now been push them to GitHub. |
| test("given an array with no duplicates, it returns a copy of the original array", () => { | ||
| const input = [1, 2, 3, "a", "b"]; | ||
| const result = dedupe(input); | ||
| expect(result).toEqual(input); |
There was a problem hiding this comment.
The test on line 15 is not reliable because input could be mutated by the function. As a result, there is a chance that result and input could hold identical BUT incorrect elements.
|
Closing PR because the January ITP run has finished. Feel free to re-open if you're still working on it. |

Learners, PR Template
Self checklist
Changelist
Completion of Sprint 1