Skip to content

Commit 985e2fb

Browse files
authored
Revert "test: ensure message event fires in worker message port test"
This reverts commit 9790315. Refs: #59952 PR-URL: #60126 Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 1cd16e5 commit 985e2fb

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

test/parallel/test-worker-message-port-infinite-message-loop.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,3 @@ port2.postMessage(0);
2727
// This is part of the test -- the event loop should be available and not stall
2828
// out due to the recursive .postMessage() calls.
2929
setTimeout(common.mustCall(), 0);
30-
31-
// Assert that the 'message' handler was actually called.
32-
//
33-
// We do not want to assert a specific call count, so common.mustCall cannot be
34-
// used in the port1.on('message' callback directly.
35-
process.once(
36-
'beforeExit',
37-
common.mustCall(() => {
38-
assert(count > 0, 'count should be greater than 0');
39-
})
40-
);

0 commit comments

Comments
 (0)