Update dependencies

This commit is contained in:
Tatyana Kostromskaya committed 2023-09-08 14:29:27 +00:00
1 parent bf75b7c994
commit 2ba5017629
1 file changed
+2 -2
+2 -2
View File
@@ -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()
})