diff options
Diffstat (limited to 'cli/tests/045_proxy_client.ts')
-rw-r--r-- | cli/tests/045_proxy_client.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/045_proxy_client.ts b/cli/tests/045_proxy_client.ts new file mode 100644 index 000000000..4fb3db83b --- /dev/null +++ b/cli/tests/045_proxy_client.ts @@ -0,0 +1,7 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +async function main(): Promise<void> { + const res = await fetch("http://deno.land/welcome.ts"); + console.log(`Response http: ${await res.text()}`); +} + +main(); |