From 6210fef6814caf42b36945e8f214f37270ad84a2 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Wed, 9 Oct 2024 11:22:27 +0200 Subject: [PATCH] test: fix android tests (#33021) --- tests/config/serverFixtures.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/config/serverFixtures.ts b/tests/config/serverFixtures.ts index 2bff8e6369..12578a189f 100644 --- a/tests/config/serverFixtures.ts +++ b/tests/config/serverFixtures.ts @@ -51,7 +51,7 @@ export const serverFixtures: Fixtures = { const socksServer = new MockSocksServer(); const socksPort = port + 2; - await socksServer.listen(socksPort, loopback); + await socksServer.listen(socksPort); const proxyPort = port + 3; const proxyServer = await TestProxy.create(proxyPort); @@ -124,7 +124,7 @@ export class MockSocksServer { }); } - async listen(port: number, hostname: string) { + async listen(port: number, hostname?: string) { await this._socksProxy.listen(port, hostname); }