This commit is contained in:
2025-05-29 11:30:42 +00:00
parent f1c012ec30
commit b0beeae19e
18 changed files with 420 additions and 426 deletions

View File

@ -36,7 +36,10 @@ tap.test('should detect and forward non-TLS connections on HttpProxy ports', asy
proxy.settings.enableDetailedLogging = true;
// Override the HttpProxy initialization to avoid actual HttpProxy setup
proxy['httpProxyBridge'].getHttpProxy = () => ({} as any);
proxy['httpProxyBridge'].getHttpProxy = () => null;
proxy['httpProxyBridge'].initialize = async () => {
console.log('Mock: HttpProxyBridge initialized');
};
await proxy.start();