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 <targos@protonmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
  • Loading branch information
tniessen authored and ruyadorno committed Feb 7, 2022
1 parent 94645d8 commit abbc06b
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 abbc06b

Please sign in to comment.