From e35e8981f0280905836d3b68fd5ceb6e3c2bc270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 20 Nov 2020 18:01:58 +0100 Subject: test(std): make test output less noisy (#8445) This commit makes output of std/ tests less noisy by passing "--quiet" flag to Deno subprocesses run as part of test suite. --- std/http/file_server_test.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'std/http/file_server_test.ts') diff --git a/std/http/file_server_test.ts b/std/http/file_server_test.ts index ca8d3b3b2..5f7137998 100644 --- a/std/http/file_server_test.ts +++ b/std/http/file_server_test.ts @@ -25,6 +25,7 @@ async function startFileServer({ cmd: [ Deno.execPath(), "run", + "--quiet", "--allow-read", "--allow-net", "file_server.ts", @@ -50,6 +51,7 @@ async function startFileServerAsLibrary({}: FileServerCfg = {}): Promise { cmd: [ Deno.execPath(), "run", + "--quiet", "--allow-read", "--allow-net", "testdata/file_server_as_library.ts", @@ -205,6 +207,7 @@ Deno.test("printHelp", async function (): Promise { cmd: [ Deno.execPath(), "run", + "--quiet", // TODO(ry) It ought to be possible to get the help output without // --allow-read. "--allow-read", @@ -264,6 +267,7 @@ async function startTlsFileServer({ cmd: [ Deno.execPath(), "run", + "--quiet", "--allow-read", "--allow-net", "file_server.ts", @@ -319,6 +323,7 @@ Deno.test("partial TLS arguments fail", async function (): Promise { cmd: [ Deno.execPath(), "run", + "--quiet", "--allow-read", "--allow-net", "file_server.ts", -- cgit v1.2.3