diff options
Diffstat (limited to 'http/file_server_test.ts')
| -rw-r--r-- | http/file_server_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/http/file_server_test.ts b/http/file_server_test.ts index 31ddca08e..b976c0dc0 100644 --- a/http/file_server_test.ts +++ b/http/file_server_test.ts @@ -30,7 +30,7 @@ function killFileServer(): void { fileServer.stdout.close(); } -test(async function serveFile() { +test(async function serveFile(): Promise<void> { await startFileServer(); try { const res = await fetch("http://localhost:4500/azure-pipelines.yml"); @@ -47,7 +47,7 @@ test(async function serveFile() { } }); -test(async function serveDirectory() { +test(async function serveDirectory(): Promise<void> { await startFileServer(); try { const res = await fetch("http://localhost:4500/"); @@ -60,7 +60,7 @@ test(async function serveDirectory() { } }); -test(async function serveFallback() { +test(async function serveFallback(): Promise<void> { await startFileServer(); try { const res = await fetch("http://localhost:4500/badfile.txt"); |
