diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2024-10-14 15:35:52 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-14 19:35:52 +0000 |
| commit | c5449d71da2d623e866d733b6db180a6f94ff7c6 (patch) | |
| tree | 91f27329054b33b7524618cb57a484faa74ba82e /tests/specs/add/alias/__test__.jsonc | |
| parent | f3530c858f873b0f4561a52fa92ddd1d099612b3 (diff) | |
fix(install): support installing npm package with alias (#26246)
Just tried this out today and it wasn't properly implemented in
https://github.com/denoland/deno/pull/24156
Diffstat (limited to 'tests/specs/add/alias/__test__.jsonc')
| -rw-r--r-- | tests/specs/add/alias/__test__.jsonc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/specs/add/alias/__test__.jsonc b/tests/specs/add/alias/__test__.jsonc new file mode 100644 index 000000000..8a16ad3b4 --- /dev/null +++ b/tests/specs/add/alias/__test__.jsonc @@ -0,0 +1,13 @@ +{ + "tempDir": true, + "steps": [{ + "args": "install my-alias@npm:@denotest/add", + "output": "[WILDCARD]" + }, { + "args": [ + "eval", + "console.log(Deno.readTextFileSync('package.json').trim())" + ], + "output": "package.json.out" + }] +} |
