diff options
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/fetch.ts | 12 | ||||
| -rw-r--r-- | testdata/fetch.ts.out | 2 |
2 files changed, 0 insertions, 14 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"); diff --git a/testdata/fetch.ts.out b/testdata/fetch.ts.out deleted file mode 100644 index b8ca9c598..000000000 --- a/testdata/fetch.ts.out +++ /dev/null @@ -1,2 +0,0 @@ -fetch started -expect deno: deno |
