summaryrefslogtreecommitdiff
path: root/cli/tests/045_proxy_test.ts
diff options
context:
space:
mode:
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);