diff options
Diffstat (limited to 'http')
| -rw-r--r-- | http/file_server_test.ts | 2 | ||||
| -rw-r--r-- | http/racing_server_test.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/http/file_server_test.ts b/http/file_server_test.ts index 52d6ec688..bac82e825 100644 --- a/http/file_server_test.ts +++ b/http/file_server_test.ts @@ -11,7 +11,7 @@ let fileServer: Deno.Process; async function startFileServer(): Promise<void> { fileServer = run({ args: [ - "deno", + Deno.execPath, "run", "--allow-read", "--allow-net", diff --git a/http/racing_server_test.ts b/http/racing_server_test.ts index dc16a49e1..a34f915d5 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: Deno.Process; async function startServer(): Promise<void> { server = run({ - args: ["deno", "run", "-A", "http/racing_server.ts"], + args: [Deno.execPath, "run", "-A", "http/racing_server.ts"], stdout: "piped" }); // Once racing server is ready it will write to its stdout. |
