summaryrefslogtreecommitdiff
path: root/cli/tests/045_proxy_client.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/045_proxy_client.ts')
-rw-r--r--cli/tests/045_proxy_client.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/cli/tests/045_proxy_client.ts b/cli/tests/045_proxy_client.ts
index 3d7003750..221ac57f6 100644
--- a/cli/tests/045_proxy_client.ts
+++ b/cli/tests/045_proxy_client.ts
@@ -1,7 +1,3 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-async function main(): Promise<void> {
- const res = await fetch("http://localhost:4545/std/examples/colors.ts");
- console.log(`Response http: ${await res.text()}`);
-}
-
-main();
+const res = await fetch("http://localhost:4545/std/examples/colors.ts");
+console.log(`Response http: ${await res.text()}`);