From 23f506b3e653ab92298aa15b9865878e26cd08c6 Mon Sep 17 00:00:00 2001 From: Joel Einbinder Date: Mon, 20 Jul 2020 13:31:24 -0700 Subject: [PATCH] fix(test): write after end in proxy test (#3039) --- test/proxy.jest.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/proxy.jest.js b/test/proxy.jest.js index 012683d693..37129f1947 100644 --- a/test/proxy.jest.js +++ b/test/proxy.jest.js @@ -41,8 +41,9 @@ describe('HTTP Proxy', () => { 'Proxy-Authenticate': 'Basic realm="Access to internal site"' }); res.end(); + } else { + res.end(`${auth}`); } - res.end(`${auth}`); }); const browser = await browserType.launch({ ...defaultBrowserOptions,