diff options
| author | Mark Ladyshau <47859603+mrkldshv@users.noreply.github.com> | 2022-06-13 20:09:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-13 20:09:04 +0200 |
| commit | decdc59071482dd130ee73cb6e011412ea1f3e75 (patch) | |
| tree | 9093d07e8dddeacc776da8a83af8628b53187351 /cli/tests/testdata | |
| parent | 64abb65f0514afc1f10c426561e5150d9cae6b45 (diff) | |
fix(cli): add config flag to `deno info` (#14706)
Diffstat (limited to 'cli/tests/testdata')
5 files changed, 12 insertions, 0 deletions
diff --git a/cli/tests/testdata/info/with_config/deno-override.json b/cli/tests/testdata/info/with_config/deno-override.json new file mode 100644 index 000000000..ee44ba947 --- /dev/null +++ b/cli/tests/testdata/info/with_config/deno-override.json @@ -0,0 +1,3 @@ +{ + "importMap": "import_map.json" +} diff --git a/cli/tests/testdata/info/with_config/deno.json b/cli/tests/testdata/info/with_config/deno.json new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/cli/tests/testdata/info/with_config/deno.json @@ -0,0 +1 @@ +{} diff --git a/cli/tests/testdata/info/with_config/import_map.json b/cli/tests/testdata/info/with_config/import_map.json new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/cli/tests/testdata/info/with_config/import_map.json @@ -0,0 +1 @@ +{} diff --git a/cli/tests/testdata/info/with_config/test.ts b/cli/tests/testdata/info/with_config/test.ts new file mode 100644 index 000000000..85ce559e8 --- /dev/null +++ b/cli/tests/testdata/info/with_config/test.ts @@ -0,0 +1 @@ +console.log("foo"); diff --git a/cli/tests/testdata/info/with_config/with_config.out b/cli/tests/testdata/info/with_config/with_config.out new file mode 100644 index 000000000..b707c24d0 --- /dev/null +++ b/cli/tests/testdata/info/with_config/with_config.out @@ -0,0 +1,6 @@ +Warning the configuration file "[WILDCARD]/deno-override.json" contains an entry for "importMap" that is being ignored. +local: [WILDCARD]test.ts +type: TypeScript +dependencies: 0 unique (total [WILDCARD]) + +file:///[WILDCARD]/test.ts ([WILDCARD]) |
