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 d8167c7 commit b08e2c4Copy full SHA for b08e2c4
tests/run.mjs
@@ -83,7 +83,7 @@ async function testEnd2End() {
83
try {
84
await driver.get(`http://localhost:${PORT}/index.html?worstCaseCount=2&iterationCount=3`);
85
await driver.executeAsyncScript((callback) => {
86
- globalThis.addEventListener("JetStreamReady", callback);
+ globalThis.addEventListener("JetStreamReady", () => callback());
87
// We might not get a chance to install the on-ready listener, thus
88
// we also check if the runner is ready synchronously.
89
if (globalThis?.JetStream?.isReady)
0 commit comments