fix(test): write after end in proxy test (#3039)
This commit is contained in:
parent
d1f937d651
commit
23f506b3e6
|
|
@ -41,8 +41,9 @@ describe('HTTP Proxy', () => {
|
||||||
'Proxy-Authenticate': 'Basic realm="Access to internal site"'
|
'Proxy-Authenticate': 'Basic realm="Access to internal site"'
|
||||||
});
|
});
|
||||||
res.end();
|
res.end();
|
||||||
}
|
} else {
|
||||||
res.end(`<html><title>${auth}</title></html>`);
|
res.end(`<html><title>${auth}</title></html>`);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
const browser = await browserType.launch({
|
const browser = await browserType.launch({
|
||||||
...defaultBrowserOptions,
|
...defaultBrowserOptions,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue