summaryrefslogtreecommitdiff
path: root/std/http/file_server_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/http/file_server_test.ts')
-rw-r--r--std/http/file_server_test.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/std/http/file_server_test.ts b/std/http/file_server_test.ts
index 13205bb01..faaf0b9d1 100644
--- a/std/http/file_server_test.ts
+++ b/std/http/file_server_test.ts
@@ -41,6 +41,7 @@ async function startFileServer({
assert(s !== null && s.includes("server listening"));
}
+/*
async function startFileServerAsLibrary({}: FileServerCfg = {}): Promise<void> {
fileServer = await Deno.run({
cmd: [
@@ -59,6 +60,7 @@ async function startFileServerAsLibrary({}: FileServerCfg = {}): Promise<void> {
const s = await r.readLine();
assert(s !== null && s.includes("Server running..."));
}
+*/
async function killFileServer(): Promise<void> {
fileServer.close();
@@ -195,6 +197,7 @@ Deno.test("contentType", async () => {
(response.body as Deno.File).close();
});
+/*
Deno.test("file_server running as library", async function (): Promise<void> {
await startFileServerAsLibrary();
try {
@@ -204,6 +207,7 @@ Deno.test("file_server running as library", async function (): Promise<void> {
await killFileServer();
}
});
+*/
async function startTlsFileServer({
target = ".",