summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/info/with_config/deno-override.json3
-rw-r--r--cli/tests/testdata/info/with_config/deno.json1
-rw-r--r--cli/tests/testdata/info/with_config/import_map.json1
-rw-r--r--cli/tests/testdata/info/with_config/test.ts1
-rw-r--r--cli/tests/testdata/info/with_config/with_config.out6
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])