-
Notifications
You must be signed in to change notification settings - Fork 30k
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
events: add a few tests #35806
events: add a few tests #35806
Conversation
Port a few tests from what (commit message)? |
b7efa9f
to
702b621
Compare
I initially wanted to port tests from chromium but couldn't find relevant ones - so I just went over the spec looking for bits we don't cover and added tests for them. |
Codecov Report
@@ Coverage Diff @@
## master #35806 +/- ##
==========================================
- Coverage 96.87% 87.89% -8.98%
==========================================
Files 212 477 +265
Lines 69486 113171 +43685
Branches 0 25427 +25427
==========================================
+ Hits 67315 99475 +32160
- Misses 2171 7994 +5823
- Partials 0 5702 +5702
|
702b621
to
c363016
Compare
This comment has been minimized.
This comment has been minimized.
54624c7
to
3ad306a
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Rebased |
Commit Queue failed- Loading data for nodejs/node/pull/35806 ✔ Done loading data for nodejs/node/pull/35806 ----------------------------------- PR info ------------------------------------ Title events: add a few tests (#35806) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch benjamingr:event-target-tests -> nodejs:master Labels author ready, events, test Commits 1 - events: add a few tests Committers 1 - Benjamin Gruenbaum PR-URL: https://github.com/nodejs/node/pull/35806 Reviewed-By: Rich Trott Reviewed-By: James M Snell ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/35806 Reviewed-By: Rich Trott Reviewed-By: James M Snell -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last review: ⚠ - events: add a few tests ✔ Last GitHub Actions successful ℹ Last Full PR CI on 2020-11-03T14:36:19Z: https://ci.nodejs.org/job/node-test-pull-request/34039/ - Querying data for job/node-test-pull-request/34039/ ✔ Build data downloaded ✔ Last Jenkins CI successful ℹ This PR was created on Mon, 26 Oct 2020 09:13:53 GMT ✔ Approvals: 2 ✔ - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/35806#pullrequestreview-516666200 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/35806#pullrequestreview-516905787 -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncu Commit Queue action: https://github.com/nodejs/node/actions/runs/343910509 |
@aduh95 can you LGTM after the rebase so I can land with the commit queue? (assuming you think the changes are LGTM) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RSLGTM
Landed in 1bc1f84...ee749ba |
PR-URL: #35806 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #35806 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: nodejs#35806 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: nodejs#35806 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: nodejs#35806 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Added a few EventTarget tests I've found by playing with the code and "porting" bits of the spec I've read.
Note that at the moment Chrome has different prototype keys for
Event
though I could not figure out if that bit is actually required by the spec.Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes