We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9446832 commit bc3ed49Copy full SHA for bc3ed49
1 file changed
test/parallel/test-worker-message-port-infinite-message-loop.js
@@ -27,14 +27,3 @@ port2.postMessage(0);
27
// This is part of the test -- the event loop should be available and not stall
28
// out due to the recursive .postMessage() calls.
29
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