mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: fix android tests (#33021)
This commit is contained in:
parent
bcf4ff1e47
commit
6210fef681
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user