summaryrefslogtreecommitdiff
path: root/tests/specs
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-10-17 15:25:22 -0700
committerGitHub <noreply@github.com>2024-10-17 22:25:22 +0000
commit50724d014ad6923e228e488648d40ce6f00297e9 (patch)
tree0593ce89f7b0e0b1c563b23214670b6e1993279f /tests/specs
parent2435a361c64fc9bac4aee7b268b4c0a42eee4471 (diff)
fix(install): don't attempt to cache specifiers that point to directories (#26369)
Fixes https://github.com/denoland/deno/issues/26162
Diffstat (limited to 'tests/specs')
-rw-r--r--tests/specs/install/import_map_with_dir/__test__.jsonc9
-rw-r--r--tests/specs/install/import_map_with_dir/deno.json5
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/specs/install/import_map_with_dir/__test__.jsonc b/tests/specs/install/import_map_with_dir/__test__.jsonc
new file mode 100644
index 000000000..cbbc7cc2e
--- /dev/null
+++ b/tests/specs/install/import_map_with_dir/__test__.jsonc
@@ -0,0 +1,9 @@
+{
+ "tempDir": true,
+ "steps": [
+ {
+ "args": "install",
+ "output": ""
+ }
+ ]
+}
diff --git a/tests/specs/install/import_map_with_dir/deno.json b/tests/specs/install/import_map_with_dir/deno.json
new file mode 100644
index 000000000..5c3224b07
--- /dev/null
+++ b/tests/specs/install/import_map_with_dir/deno.json
@@ -0,0 +1,5 @@
+{
+ "imports": {
+ "@assets": "./src/assets/"
+ }
+}