Skip to content

Commit

Permalink
test: fix typo in MessageChannel test
Browse files Browse the repository at this point in the history
PR-URL: #41746
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Mestery <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
  • Loading branch information
tniessen authored and danielleadams committed Mar 3, 2022
1 parent 1727f43 commit 9692e3d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { MessageChannel } = require('worker_threads');

// Make sure that an infinite asynchronous .on('message')/postMessage loop
// does not lead to a stack overflow and does not starve the event loop.
// We schedule timeouts both from before the the .on('message') handler and
// We schedule timeouts both from before the .on('message') handler and
// inside of it, which both should run.

const { port1, port2 } = new MessageChannel();
Expand Down

0 comments on commit 9692e3d

Please sign in to comment.