diff options
| author | Jack Wotherspoon <[email protected]> | 2025-08-06 16:46:50 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-06 20:46:50 +0000 |
| commit | ad5d2af4e34fd23391bb6a0270cc320a0e56ba88 (patch) | |
| tree | c37a88e15e177faf6332c918a8e93ee4f55a8cc9 /integration-tests | |
| parent | e3e76777535da2817b5fcac012456db29147059e (diff) | |
tests: fix e2e tests (#5706)
Diffstat (limited to 'integration-tests')
| -rw-r--r-- | integration-tests/test-helper.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/integration-tests/test-helper.js b/integration-tests/test-helper.js index e4d55631..d1125a78 100644 --- a/integration-tests/test-helper.js +++ b/integration-tests/test-helper.js @@ -169,13 +169,13 @@ export class TestRig { }; if (typeof promptOrOptions === 'string') { - command += ` --prompt "${promptOrOptions}"`; + command += ` --prompt ${JSON.stringify(promptOrOptions)}`; } else if ( typeof promptOrOptions === 'object' && promptOrOptions !== null ) { if (promptOrOptions.prompt) { - command += ` --prompt "${promptOrOptions.prompt}"`; + command += ` --prompt ${JSON.stringify(promptOrOptions.prompt)}`; } if (promptOrOptions.stdin) { execOptions.input = promptOrOptions.stdin; |
