diff --git a/integration-tests/test-helper.ts b/integration-tests/test-helper.ts index ac7fec6f..2332227e 100644 --- a/integration-tests/test-helper.ts +++ b/integration-tests/test-helper.ts @@ -221,8 +221,8 @@ export class TestRig { // Handle stdin if provided if (execOptions.input) { child.stdin!.write(execOptions.input); - child.stdin!.end(); } + child.stdin!.end(); child.stdout!.on('data', (data: Buffer) => { stdout += data;