mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore(test-runner): correct warning instruction for port reuse (#12479)
This commit is contained in:
parent
279e579097
commit
dd83ece3cb
@ -58,7 +58,7 @@ export class WebServer {
|
||||
if (isAlreadyAvailable) {
|
||||
if (this.config.reuseExistingServer)
|
||||
return;
|
||||
throw new Error(`${this.config.url ?? `http://localhost:${this.config.port}`} is already used, make sure that nothing is running on the port/url or set strict:false in config.webServer.`);
|
||||
throw new Error(`${this.config.url ?? `http://localhost:${this.config.port}`} is already used, make sure that nothing is running on the port/url or set reuseExistingServer:true in config.webServer.`);
|
||||
}
|
||||
|
||||
const { launchedProcess, kill } = await launchProcess({
|
||||
|
Loading…
x
Reference in New Issue
Block a user