diff options
Diffstat (limited to 'cli/tests/fetch_deps.ts')
-rw-r--r-- | cli/tests/fetch_deps.ts | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/cli/tests/fetch_deps.ts b/cli/tests/fetch_deps.ts deleted file mode 100644 index e6ef8854e..000000000 --- a/cli/tests/fetch_deps.ts +++ /dev/null @@ -1,14 +0,0 @@ -// Run ./tools/http_server.py too in order for this test to run. -import { assert } from "../std/testing/asserts.ts"; - -// TODO Top level await https://github.com/denoland/deno/issues/471 -async function main(): Promise<void> { - const response = await fetch("http://localhost:4545/package.json"); - const json = await response.json(); - const deps = Object.keys(json.devDependencies); - console.log("Deno JS Deps"); - console.log(deps.map((d): string => `* ${d}`).join("\n")); - assert(deps.includes("typescript")); -} - -main(); |