We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcf3f68 commit 238bd9bCopy full SHA for 238bd9b
tests/run.mjs
@@ -83,6 +83,8 @@ async function testEnd2End() {
83
try {
84
await driver.get(`http://localhost:${PORT}/index.html?worstCaseCount=2&iterationCount=3`);
85
await driver.executeAsyncScript((callback) => {
86
+ // callback() is explicitly called without the default event
87
+ // as argument to avoid serialization issues with chromedriver.
88
globalThis.addEventListener("JetStreamReady", () => callback());
89
// We might not get a chance to install the on-ready listener, thus
90
// we also check if the runner is ready synchronously.
0 commit comments