From 2ba50176294fdc5f19a30f1ca694203beebcbdf4 Mon Sep 17 00:00:00 2001 From: Tatyana Kostromskaya <32135588+takost@users.noreply.github.com> Date: Fri, 8 Sep 2023 14:29:27 +0000 Subject: [PATCH] Update dependencies --- __tests__/github.proxy.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/github.proxy.test.ts b/__tests__/github.proxy.test.ts index aa79f8b..16b3b90 100644 --- a/__tests__/github.proxy.test.ts +++ b/__tests__/github.proxy.test.ts @@ -19,7 +19,7 @@ describe('@actions/github', () => { proxyServer = proxy() await new Promise(resolve => { const port = Number(proxyUrl.split(':')[2]) - proxyServer.listen(port, () => resolve()) + proxyServer.listen(port, () => resolve(null)) }) proxyServer.on('connect', req => { proxyConnects.push(req.url ?? '') @@ -33,7 +33,7 @@ describe('@actions/github', () => { afterAll(async () => { // Stop proxy server await new Promise(resolve => { - proxyServer.once('close', () => resolve()) + proxyServer.once('close', () => resolve(null)) proxyServer.close() })