diff --git a/__tests__/proxy.test.ts b/__tests__/proxy.test.ts index 62e8e96..4c627f3 100644 --- a/__tests__/proxy.test.ts +++ b/__tests__/proxy.test.ts @@ -19,7 +19,7 @@ describe('proxy', () => { _proxyServer.listen(port, () => resolve()) }) _proxyServer.on('connect', req => { - _proxyConnects.push(req.url) + _proxyConnects.push(req.url ?? '') }) })