Rename the test more appropriately

This commit is contained in:
joelwizard 2026-04-03 15:56:04 -07:00
parent aef0e9ddf9
commit f88bc1e489
No known key found for this signature in database
GPG Key ID: 7DBA6660BE571D64

View File

@ -127,7 +127,7 @@ describe('proxyPolicy', () => {
expect(Object.keys(headerObj).length).toBe(0) expect(Object.keys(headerObj).length).toBe(0)
}) })
test('does not leak application headers into HttpProxyAgent CONNECT request', async () => { test('selects HttpProxyAgent for plain HTTP requests without leaking headers', async () => {
const policy = proxyPolicy() const policy = proxyPolicy()
const next = createCapturingNext() const next = createCapturingNext()