-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
worker: add test for messagePort.onmessage #21510
Conversation
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.
Changes LGTM :) Would be great if you could come up with ideas for tests for worker and make them good-first-contribution
Also, maybe add yourself to @nodejs/workers?
Writing tests is a good way for me to test if the API meets my expectations, but I'll keep that in mind :)
Thanks for the suggestion, done! |
There should be an equivalent test for |
@itaysabato do you want to take a stab at those tests @TimothyGu just outlined in #21510 (comment)? |
Note to self: change commit prefix to |
PR-URL: #21510 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Weijia Wang <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
Landed in f5db04d |
This landed without the commit message change. Probably not a big deal, only affects the CHANGELOG/Release Notes? |
PR-URL: #21510 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Weijia Wang <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
Ah... just saw the note to self from @targos ... yeah, I don't think it's super critical |
@nodejs/workers
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes