diff options
author | Ry Dahl <ry@tinyclouds.org> | 2019-10-31 22:33:27 -0400 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2019-10-31 19:33:27 -0700 |
commit | af61dbed874863db308f3a421ad142a7f106687a (patch) | |
tree | 083946a0071ddf4ddde51df54064ce8b56d1e812 /cli/tests | |
parent | 9d6cbb73a8dcf63b24630129f47dc98d3cc735d5 (diff) |
Upgrade node_modules, change tagline, clean up root directory (#3247)
* Upgrade node_modules
* Simplify tagline
* Move gclient_config.py out of root
* Move package.json to tools
* Remove yarn.lock
* Remove CONTRIBUTING.md
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/fetch_deps.ts | 14 | ||||
-rw-r--r-- | cli/tests/fixture.json | 14 | ||||
l--------- | cli/tests/symlink_to_subdir | 1 |
3 files changed, 15 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(); diff --git a/cli/tests/fixture.json b/cli/tests/fixture.json new file mode 100644 index 000000000..56e056b6a --- /dev/null +++ b/cli/tests/fixture.json @@ -0,0 +1,14 @@ +{ + "name": "deno", + "private": true, + "devDependencies": { + "@types/prettier": "1.16.1", + "@typescript-eslint/eslint-plugin": "2.5.0", + "@typescript-eslint/parser": "2.5.0", + "eslint": "5.15.1", + "eslint-config-prettier": "4.1.0", + "magic-string": "0.25.2", + "prettier": "1.17.1", + "typescript": "3.6.3" + } +} diff --git a/cli/tests/symlink_to_subdir b/cli/tests/symlink_to_subdir new file mode 120000 index 000000000..fe0c45aa4 --- /dev/null +++ b/cli/tests/symlink_to_subdir @@ -0,0 +1 @@ +subdir/
\ No newline at end of file |