From 4dc004f0a24fdc81026ec03326b9943a95f1a31d Mon Sep 17 00:00:00 2001 From: Yusuke Sakurai Date: Tue, 3 Mar 2020 23:51:07 +0900 Subject: misc: reduce unnecesarry output in cli/js tests (#4182) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk --- cli/js/process_test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cli/js/process_test.ts') diff --git a/cli/js/process_test.ts b/cli/js/process_test.ts index 29467cc67..669e11368 100644 --- a/cli/js/process_test.ts +++ b/cli/js/process_test.ts @@ -21,13 +21,15 @@ test(function runPermissions(): void { testPerm({ run: true }, async function runSuccess(): Promise { const p = run({ - args: ["python", "-c", "print('hello world')"] + args: ["python", "-c", "print('hello world')"], + stdout: "piped", + stderr: "null" }); const status = await p.status(); - console.log("status", status); assertEquals(status.success, true); assertEquals(status.code, 0); assertEquals(status.signal, undefined); + p.stdout!.close(); p.close(); }); -- cgit v1.2.3