Skip to content

Commit 44a1308

Browse files
committed
chore: fix promisify, it seems the contract is different
1 parent b8623a3 commit 44a1308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/fixtures/httpsServerProxyTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export class HTTPServerProxyTestSetup {
101101
async listen(): Promise<void> {
102102
await Promise.all(
103103
[this.httpServer, this.httpsServer, this.httpProxyServer, this.httpsProxyServer].map(async (server) => {
104-
await promisify(server.listen.bind(server))(0);
104+
await promisify(server.listen.bind(server, 0))();
105105
server.on("connection", (conn) => this.connections.push(conn));
106106
})
107107
);

0 commit comments

Comments
 (0)