test: fix android tests (#33021)

This commit is contained in:
Max Schmitt 2024-10-09 11:22:27 +02:00 committed by GitHub
parent bcf4ff1e47
commit 6210fef681
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ export const serverFixtures: Fixtures<ServerFixtures, ServerWorkerOptions> = {
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);
}