diff --git a/__tests__/github.proxy.test.ts b/__tests__/github.proxy.test.ts index 7811b8e..aa79f8b 100644 --- a/__tests__/github.proxy.test.ts +++ b/__tests__/github.proxy.test.ts @@ -22,7 +22,7 @@ describe('@actions/github', () => { proxyServer.listen(port, () => resolve()) }) proxyServer.on('connect', req => { - proxyConnects.push(req.url) + proxyConnects.push(req.url ?? '') }) }) diff --git a/__tests__/github.test.ts b/__tests__/github.test.ts index 6595c30..6a5b6be 100644 --- a/__tests__/github.test.ts +++ b/__tests__/github.test.ts @@ -18,7 +18,7 @@ describe('@actions/github', () => { proxyServer.listen(port, () => resolve(null)) }) proxyServer.on('connect', req => { - proxyConnects.push(req.url) + proxyConnects.push(req.url ?? '') }) })