From 850c7e1a91864fd448f1d53a1367402e2cf0aaa4 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Wed, 20 Jan 2021 12:59:12 -0700 Subject: [PATCH] fix: add void for resolve in socket test --- test/socket.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/socket.test.ts b/test/socket.test.ts index bff24f82..7a5a7176 100644 --- a/test/socket.test.ts +++ b/test/socket.test.ts @@ -55,7 +55,7 @@ describe("SocketProxyProvider", () => { const socketPath = await provider.findFreeSocketPath(path.join(tmpdir, "tests/tls-socket-proxy")) await fs.remove(socketPath) - return new Promise((_resolve) => { + return new Promise((_resolve) => { const resolved: { [key: string]: boolean } = { client: false, server: false } const resolve = (type: "client" | "server"): void => { resolved[type] = true