summaryrefslogtreecommitdiff
path: root/cli/tests/cafile_ts_fetch.ts
diff options
context:
space:
mode:
authorgeoFlux <blakejason5@gmail.com>2020-02-17 11:59:51 -0500
committerGitHub <noreply@github.com>2020-02-17 11:59:51 -0500
commit2e7d449623b7faee8feb0a2970e0d6bb7c66b409 (patch)
tree4b3cae1d91709391fcc8facc2d2dca409349f026 /cli/tests/cafile_ts_fetch.ts
parent98e585a284f6b8bb568cec52ca3599612b663ef3 (diff)
feat: add --cert flag for http client (#3972)
Diffstat (limited to 'cli/tests/cafile_ts_fetch.ts')
-rw-r--r--cli/tests/cafile_ts_fetch.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/cafile_ts_fetch.ts b/cli/tests/cafile_ts_fetch.ts
new file mode 100644
index 000000000..be158bf70
--- /dev/null
+++ b/cli/tests/cafile_ts_fetch.ts
@@ -0,0 +1,3 @@
+fetch("https://localhost:5545/cli/tests/cafile_ts_fetch.ts.out")
+ .then(r => r.text())
+ .then(t => console.log(t.trimEnd()));