summaryrefslogtreecommitdiff
path: root/cli/js/process_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/process_test.ts')
-rw-r--r--cli/js/process_test.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/js/process_test.ts b/cli/js/process_test.ts
index fc9d15140..29467cc67 100644
--- a/cli/js/process_test.ts
+++ b/cli/js/process_test.ts
@@ -299,6 +299,7 @@ testPerm({ run: true }, async function runClose(): Promise<void> {
const data = new Uint8Array(10);
const r = await p.stderr!.read(data);
assertEquals(r, Deno.EOF);
+ p.stderr!.close();
});
test(function signalNumbers(): void {
@@ -341,6 +342,7 @@ if (Deno.build.os !== "win") {
// re-enable when it can be made deterministic.
// assertEquals(status.code, 1);
// assertEquals(status.signal, Deno.Signal.SIGINT);
+ p.close();
});
testPerm({ run: true }, async function killFailed(): Promise<void> {