chore(tests): don't cancel child process stream (#1262)

This commit is contained in:
Marvin Hagemeister
2023-06-09 13:44:11 +02:00
committed by GitHub
parent 894f56b9c9
commit 48de711df4
+3 -1
View File
@@ -11,7 +11,9 @@ export async function startFreshServer(options: Deno.CommandOptions) {
const decoder = new TextDecoderStream();
const lines: ReadableStream<string> = serverProcess.stdout
.pipeThrough(decoder)
.pipeThrough(new TextLineStream());
.pipeThrough(new TextLineStream(), {
preventCancel: true,
});
let started = false;
for await (const line of lines) {