Skip to content

Commit 6a8101b

Browse files
committed
re-add comment
1 parent 969cf2e commit 6a8101b

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
@@ -84,6 +84,8 @@ async function testEnd2End() {
8484
console.log(`JetStream PREPARE ${url}`);
8585
await driver.get(url);
8686
await driver.executeAsyncScript((callback) => {
87+
// callback() is explicitly called without the default event
88+
// as argument to avoid serialization issues with chromedriver.
8789
globalThis.addEventListener("JetStreamReady", () => callback());
8890
// We might not get a chance to install the on-ready listener, thus
8991
// we also check if the runner is ready synchronously.

0 commit comments

Comments
 (0)