Skip to content

Commit 238bd9b

Browse files
committed
adding comment
1 parent dcf3f68 commit 238bd9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/run.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ async function testEnd2End() {
8383
try {
8484
await driver.get(`http://localhost:${PORT}/index.html?worstCaseCount=2&iterationCount=3`);
8585
await driver.executeAsyncScript((callback) => {
86+
// callback() is explicitly called without the default event
87+
// as argument to avoid serialization issues with chromedriver.
8688
globalThis.addEventListener("JetStreamReady", () => callback());
8789
// We might not get a chance to install the on-ready listener, thus
8890
// we also check if the runner is ready synchronously.

0 commit comments

Comments
 (0)