| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Review requested:
|
Sorry, something went wrong.
|
why? assert.forEach isn’t the same as a for..of loop. |
Sorry, something went wrong.
There was a problem hiding this comment.
Hi @tomhaddad, what is the reason for this change?
This is not a part of core in which we avoid prototype calls like forEach()
Sorry, something went wrong.
|
@atlowChemi it's a code-and-learn exercise. |
Sorry, something went wrong.
Sorry, something went wrong.
|
That doesn’t mean the change should just land tho, right? Or does it mean the PR isn’t going to actually land, it’s just to demonstrate how to do one? |
Sorry, something went wrong.
There was a problem hiding this comment.
Note to reviewers: this is a test file, we do not have any requirements for how to iterate over arrays in test files, both methods are fine by me.
Sorry, something went wrong.
Sorry, something went wrong.
As any PR, this can land after if it has approval and green CI, after the waiting time. Code and Learn consists on making low hanging fruit PRs to get a first contribution to the repo, with the hope that it will result in more contributions in the future. Thanks for the PR @tomhaddad :) |
Sorry, something went wrong.
You are most welcome, happy to have made my first contribution :) |
Sorry, something went wrong.
|
Fast-track has been requested by @aduh95. Please 👍 to approve. |
Sorry, something went wrong.
PR-URL: #50595 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
PR-URL: #50595 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
PR-URL: #50595 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
| Back | FazBrowse Home | New Git URL |
Replaces usage of forEach() with for ... of in test-runner-mock-timers.js
#NodeConf