Skip to content

Commit d4d9c67

Browse files
lpincaaduh95
andauthored
Update test/parallel/test-worker-message-port-infinite-message-loop.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent bdd3daf commit d4d9c67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ port1.on('message', common.mustCallAtLeast(() => {
2020

2121
port2.postMessage(0);
2222
assert(count++ < 10000, `hit ${count} loop iterations`);
23-
}, 1));
23+
}));
2424

2525
port2.postMessage(0);
2626

0 commit comments

Comments
 (0)