diff options
Diffstat (limited to 'http')
| -rw-r--r-- | http/file_server_test.ts | 1 | ||||
| -rw-r--r-- | http/racing_server_test.ts | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/http/file_server_test.ts b/http/file_server_test.ts index b976c0dc0..38071d3e4 100644 --- a/http/file_server_test.ts +++ b/http/file_server_test.ts @@ -11,6 +11,7 @@ async function startFileServer(): Promise<void> { fileServer = run({ args: [ "deno", + "run", "--allow-read", "--allow-net", "http/file_server.ts", diff --git a/http/racing_server_test.ts b/http/racing_server_test.ts index 0c1a5c65f..cdcdca1a7 100644 --- a/http/racing_server_test.ts +++ b/http/racing_server_test.ts @@ -8,7 +8,7 @@ import { TextProtoReader } from "../textproto/mod.ts"; let server; async function startServer(): Promise<void> { server = run({ - args: ["deno", "-A", "http/racing_server.ts"], + args: ["deno", "run", "-A", "http/racing_server.ts"], stdout: "piped" }); // Once fileServer is ready it will write to its stdout. |
