File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export function cliHelp() {
14
14
{green --screenshot-part} <string> Take a screenshot of the given part id (from diagram.json)
15
15
{green --screenshot-time} <number> Time in simulation milliseconds to take the screenshot
16
16
{green --screenshot-file} <string> File name to save the screenshot to (default: screenshot.png)
17
- {green --timeout} <number> Timeout in simulation milliseconds (default: 0 = none )
17
+ {green --timeout} <number> Timeout in simulation milliseconds (default: 30000 )
18
18
{green --timeout-exit-code} <number> Process exit code when timeout is reached (default: 42)
19
19
20
20
{bold EXAMPLES}
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ async function main() {
43
43
const expectText = args [ '--expect-text' ] ;
44
44
const failText = args [ '--fail-text' ] ;
45
45
const scenarioFile = args [ '--scenario' ] ;
46
- const timeout = args [ '--timeout' ] ?? 0 ;
46
+ const timeout = args [ '--timeout' ] ?? 30000 ;
47
47
const screenshotPart = args [ '--screenshot-part' ] ;
48
48
const screenshotTime = args [ '--screenshot-time' ] ;
49
49
const screenshotFile = args [ '--screenshot-file' ] ?? 'screenshot.png' ;
You can’t perform that action at this time.
0 commit comments