summaryrefslogtreecommitdiff
path: root/testdata/fetch.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-05-28 14:06:25 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-05-28 14:06:25 -0400
commitbce0ecbdb8af0d6f5c089c7f2139b58ff2f60624 (patch)
tree080d0ddefe56d0d1e29bc7ce06da5809018aae8e /testdata/fetch.ts
parent33f488354cf28e326d53e51edb50036005882933 (diff)
Move testdata/fetch.ts to tests.ts
Diffstat (limited to 'testdata/fetch.ts')
-rw-r--r--testdata/fetch.ts12
1 files changed, 0 insertions, 12 deletions
diff --git a/testdata/fetch.ts b/testdata/fetch.ts
deleted file mode 100644
index 24d413903..000000000
--- a/testdata/fetch.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-
-const request = async () => {
- const response = await fetch('http://localhost:4545/package.json');
- const json = await response.json();
- console.log("expect deno:", json.name);
- if (json.name !== "deno") {
- throw Error("bad value" + json.name);
- }
-}
-
-request();
-console.log("fetch started");