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() {
1414 {green --screenshot-part} <string> Take a screenshot of the given part id (from diagram.json)
1515 {green --screenshot-time} <number> Time in simulation milliseconds to take the screenshot
1616 {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 )
1818 {green --timeout-exit-code} <number> Process exit code when timeout is reached (default: 42)
1919
2020 {bold EXAMPLES}
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ async function main() {
4343 const expectText = args [ '--expect-text' ] ;
4444 const failText = args [ '--fail-text' ] ;
4545 const scenarioFile = args [ '--scenario' ] ;
46- const timeout = args [ '--timeout' ] ?? 0 ;
46+ const timeout = args [ '--timeout' ] ?? 30000 ;
4747 const screenshotPart = args [ '--screenshot-part' ] ;
4848 const screenshotTime = args [ '--screenshot-time' ] ;
4949 const screenshotFile = args [ '--screenshot-file' ] ?? 'screenshot.png' ;
You can’t perform that action at this time.
0 commit comments