chore(tests): don't cancel child process stream (#1262)
This commit is contained in:
+3
-1
@@ -11,7 +11,9 @@ export async function startFreshServer(options: Deno.CommandOptions) {
|
|||||||
const decoder = new TextDecoderStream();
|
const decoder = new TextDecoderStream();
|
||||||
const lines: ReadableStream<string> = serverProcess.stdout
|
const lines: ReadableStream<string> = serverProcess.stdout
|
||||||
.pipeThrough(decoder)
|
.pipeThrough(decoder)
|
||||||
.pipeThrough(new TextLineStream());
|
.pipeThrough(new TextLineStream(), {
|
||||||
|
preventCancel: true,
|
||||||
|
});
|
||||||
|
|
||||||
let started = false;
|
let started = false;
|
||||||
for await (const line of lines) {
|
for await (const line of lines) {
|
||||||
|
|||||||
Reference in New Issue
Block a user