diff options
Diffstat (limited to 'cli/tests/testdata/run/045_programmatic_proxy_client.ts')
-rw-r--r-- | cli/tests/testdata/run/045_programmatic_proxy_client.ts | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/cli/tests/testdata/run/045_programmatic_proxy_client.ts b/cli/tests/testdata/run/045_programmatic_proxy_client.ts deleted file mode 100644 index 73af590c7..000000000 --- a/cli/tests/testdata/run/045_programmatic_proxy_client.ts +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. - -const client = Deno.createHttpClient({ - proxy: { - url: "http://localhost:4555", - basicAuth: { username: "username", password: "password" }, - }, -}); - -const res = await fetch( - "http://localhost:4545/run/045_mod.ts", - { client }, -); -console.log(`Response http: ${await res.text()}`); - -client.close(); |