summaryrefslogtreecommitdiff
path: root/http/file_server_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'http/file_server_test.ts')
-rw-r--r--http/file_server_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/http/file_server_test.ts b/http/file_server_test.ts
index 15f052e6e..31ddca08e 100644
--- a/http/file_server_test.ts
+++ b/http/file_server_test.ts
@@ -7,7 +7,7 @@ import { BufReader } from "../io/bufio.ts";
import { TextProtoReader } from "../textproto/mod.ts";
let fileServer;
-async function startFileServer() {
+async function startFileServer(): Promise<void> {
fileServer = run({
args: [
"deno",
@@ -25,7 +25,7 @@ async function startFileServer() {
assert(err == null);
assert(s.includes("server listening"));
}
-function killFileServer() {
+function killFileServer(): void {
fileServer.close();
fileServer.stdout.close();
}