diff --git a/tests/test_utils.ts b/tests/test_utils.ts index e5c68812..6e638de1 100644 --- a/tests/test_utils.ts +++ b/tests/test_utils.ts @@ -11,7 +11,9 @@ export async function startFreshServer(options: Deno.CommandOptions) { const decoder = new TextDecoderStream(); const lines: ReadableStream = serverProcess.stdout .pipeThrough(decoder) - .pipeThrough(new TextLineStream()); + .pipeThrough(new TextLineStream(), { + preventCancel: true, + }); let started = false; for await (const line of lines) {