From 14c8ec3a23e6d33e161f9e0f2d5048745c2289b1 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Thu, 7 Nov 2024 11:54:30 +0100 Subject: [PATCH] Update docs/src/test-api/class-testconfig.md Co-authored-by: Dmitry Gozman Signed-off-by: Simon Knott --- docs/src/test-api/class-testconfig.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/test-api/class-testconfig.md b/docs/src/test-api/class-testconfig.md index c0ebbda670..343d72950f 100644 --- a/docs/src/test-api/class-testconfig.md +++ b/docs/src/test-api/class-testconfig.md @@ -620,8 +620,8 @@ export default defineConfig({ - `stderr` ?<["pipe"|"ignore"]> Whether to pipe the stderr of the command to the process stderr or ignore it. Defaults to `"pipe"`. - `timeout` ?<[int]> How long to wait for the process to start up and be available in milliseconds. Defaults to 60000. - `kill` ?<[Object]> How to shut down the process gracefully. If unspecified, the process group is forcefully `SIGKILL`ed. If set to `{ SIGINT: 500 }`, the top process is sent a `SIGINT` signal, followed by `SIGKILL` if it doesn't exit within 500ms. You can also use `SIGTERM` instead. A `0` timeout means no `SIGKILL` will be sent. Windows doesn't support `SIGINT` and `SIGTERM` signals, so this option is ignored. - - `SIGINT` <[int]> - - `SIGTERM` <[int]> + - `SIGINT` ?<[int]> + - `SIGTERM` ?<[int]> - `url` ?<[string]> The url on 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. Redirects (3xx status codes) are being followed and the new location is checked. Either `port` or `url` should be specified. Launch a development web server (or multiple) during the tests.