worker: add test for messagePort.onmessage#21510
worker: add test for messagePort.onmessage#21510targos wants to merge 1 commit intonodejs:masterfrom
Conversation
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 <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
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 <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
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