diff options
| author | Vincent LE GOFF <g_n_s@hotmail.fr> | 2019-04-24 13:41:23 +0200 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-04-24 07:41:22 -0400 |
| commit | dcd01dd02530df0e799eb4227087680ffeb80d74 (patch) | |
| tree | 8cc1dec75dd17c326fea6d7fe471b7e7a31032f7 /http/file_server_test.ts | |
| parent | e1f7a60bb326f8299f339635c0738d28431afa0a (diff) | |
Eslint fixes (denoland/deno_std#356)
Make warnings fail
Original: https://github.com/denoland/deno_std/commit/4543b563a9a01c8c168aafcbfd9d4634effba7fc
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"); |
