From 93a2c00a1daedc0557961b57441cd78dd688b505 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Wed, 14 Feb 2024 17:57:40 +0100 Subject: [PATCH] docs(webServer): add missing options (#29490) --- docs/src/test-webserver-js.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/src/test-webserver-js.md b/docs/src/test-webserver-js.md index 4e88b7a288..aba072d56a 100644 --- a/docs/src/test-webserver-js.md +++ b/docs/src/test-webserver-js.md @@ -32,8 +32,11 @@ export default defineConfig({ | `command`| Shell command to start the local dev server of your app. | | `url`| URL of your http server that is expected to return a 2xx, 3xx, 400, 401, 402, or 403 status code when the server is ready to accept connections. | | `reuseExistingServer`| If `true`, it will re-use an existing server on the url when available. If no server is running on that url, it will run the command to start a new server. If `false`, it will throw if an existing process is listening on the url. To see the stdout, you can set the `DEBUG=pw:webserver` environment variable. | +| `ignoreHTTPSErrors` | Whether to ignore HTTPS errors when fetching the `url`. Defaults to `false`. | +| `cwd` | Current working directory of the spawned process, defaults to the directory of the configuration file. | | `stdout` | If `"pipe"`, it will pipe the stdout of the command to the process stdout. If `"ignore"`, it will ignore the stdout of the command. Default to `"ignore"`. | | `stderr` | Whether to pipe the stderr of the command to the process stderr or ignore it. Defaults to `"pipe"`. | +| `timeout` | `How long to wait for the process to start up and be available in milliseconds. Defaults to 60000. | ## Adding a server timeout