Skip to content

Commit f2bc116

Browse files
author
Luca Forstner
committed
remove redundant stuff
1 parent 9090f79 commit f2bc116

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/e2e-tests/test-utils/event-proxy-server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ export async function startEventProxyServer(options: EventProxyServerOptions): P
125125
});
126126

127127
const eventCallbackServerStartupPromise = new Promise<void>(resolve => {
128-
const listener = eventCallbackServer.listen(0, () => {
129-
const port = String((listener.address() as AddressInfo).port);
128+
eventCallbackServer.listen(0, () => {
129+
const port = String((eventCallbackServer.address() as AddressInfo).port);
130130
void registerCallbackServerPort(options.proxyServerName, port).then(resolve);
131131
});
132132
});

0 commit comments

Comments
 (0)