summaryrefslogtreecommitdiff
path: root/cli/tests/045_proxy_test.ts
diff options
context:
space:
mode:
authorAndy Hayden <andyhayden1@gmail.com>2019-10-27 06:04:42 -0700
committerRy Dahl <ry@tinyclouds.org>2019-10-27 09:04:42 -0400
commitaec5a646c9218a0a0da62cbcd1f28bc23c242540 (patch)
treee052f0263eb2abc4915dc3710ec44ee34e9ad621 /cli/tests/045_proxy_test.ts
parent51dd91a3ccfd9554bcf69b539f2f748da81c5b12 (diff)
feat: top-level-for-await (#3212)
Diffstat (limited to 'cli/tests/045_proxy_test.ts')
-rw-r--r--cli/tests/045_proxy_test.ts12
1 files changed, 4 insertions, 8 deletions
diff --git a/cli/tests/045_proxy_test.ts b/cli/tests/045_proxy_test.ts
index 0e7225b3f..98225dbf1 100644
--- a/cli/tests/045_proxy_test.ts
+++ b/cli/tests/045_proxy_test.ts
@@ -55,11 +55,7 @@ async function testModuleDownload(): Promise<void> {
http.close();
}
-async function main(): Promise<void> {
- proxyServer();
- await testFetch();
- await testModuleDownload();
- Deno.exit(0);
-}
-
-main();
+proxyServer();
+await testFetch();
+await testModuleDownload();
+Deno.exit(0);