diff --git a/nodejs/docs/api/class-testconfig.mdx b/nodejs/docs/api/class-testconfig.mdx index d32a8b7bde..268d1310f3 100644 --- a/nodejs/docs/api/class-testconfig.mdx +++ b/nodejs/docs/api/class-testconfig.mdx @@ -1107,6 +1107,17 @@ export default defineConfig({ - `stdout` "pipe" | "ignore" *(optional)* 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"`. + - `wait` [Object] *(optional)* + - `stdout` [RegExp] *(optional)* + + + - `stderr` [RegExp] *(optional)* + + + - `time` [number] *(optional)* + + + Consider command started only when given output has been produced or a time in milliseconds has passed. - `timeout` [number] *(optional)* How long to wait for the process to start up and be available in milliseconds. Defaults to 60000.