-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
test: ensure that the message event is fired #59952
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
test: ensure that the message event is fired #59952
Conversation
Alternative to #59885. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #59952 +/- ##
==========================================
- Coverage 88.45% 88.45% -0.01%
==========================================
Files 703 703
Lines 207826 207826
Branches 40030 40036 +6
==========================================
- Hits 183842 183826 -16
- Misses 15973 15974 +1
- Partials 8011 8026 +15 🚀 New features to boost your workflow:
|
test/parallel/test-worker-message-port-infinite-message-loop.js
Outdated
Show resolved
Hide resolved
Failed to start CI⚠ Commits were pushed since the last approving review: ⚠ - test: ensure that the message event is fired ⚠ - Update test/parallel/test-worker-message-port-infinite-message-loop.js ✘ Refusing to run CI on potentially unsafe PRhttps://github.com/nodejs/node/actions/runs/17955820654 |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
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.
lgtm
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Use `common.mustCallAtLeast()` to verify that the `'message'` event is fired.
d4d9c67
to
097b5ed
Compare
Rebased, this needs new approvals. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
It seems that #59885 was merged. I'll open a new PR to revert it. |
This reverts commit 9790315. Refs: nodejs#59952
Landed in 307eaca |
Use `common.mustCallAtLeast()` to verify that the `'message'` event is fired. PR-URL: #59952 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
Use
common.mustCallAtLeast()
to verify that the'message'
event is fired.