diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-11-20 18:01:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-20 18:01:58 +0100 |
commit | e35e8981f0280905836d3b68fd5ceb6e3c2bc270 (patch) | |
tree | 6dafe7635d79c8b2c92fb32bfc43e33b46c77a25 /std/http/file_server_test.ts | |
parent | 91f293442d5bfb28212b5b13b536ceae06427c99 (diff) |
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.
Diffstat (limited to 'std/http/file_server_test.ts')
-rw-r--r-- | std/http/file_server_test.ts | 5 |
1 files changed, 5 insertions, 0 deletions
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<void> { 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<void> { 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<void> { cmd: [ Deno.execPath(), "run", + "--quiet", "--allow-read", "--allow-net", "file_server.ts", |