Skip to content

Commit b08e2c4

Browse files
committed
don't serialize event
1 parent d8167c7 commit b08e2c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async function testEnd2End() {
8383
try {
8484
await driver.get(`http://localhost:${PORT}/index.html?worstCaseCount=2&iterationCount=3`);
8585
await driver.executeAsyncScript((callback) => {
86-
globalThis.addEventListener("JetStreamReady", callback);
86+
globalThis.addEventListener("JetStreamReady", () => callback());
8787
// We might not get a chance to install the on-ready listener, thus
8888
// we also check if the runner is ready synchronously.
8989
if (globalThis?.JetStream?.isReady)

0 commit comments

Comments
 (0)