diff options
| author | Marvin Hagemeister <marvin@deno.com> | 2024-10-10 21:31:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-10 21:31:45 +0200 |
| commit | ccdbeb433b64fec409da2d541456ddf5a35ea4a4 (patch) | |
| tree | 2e048eb0dd97fe60d700806cda399588f1d65eba /tests/specs/install/install_add_dev_existing/__test__.jsonc | |
| parent | 66929de3bab098d2b9278cfc4b311c977555721c (diff) | |
fix(install): duplicate dependencies in `package.json` (#26128)
Fixes https://github.com/denoland/deno/issues/26120
Diffstat (limited to 'tests/specs/install/install_add_dev_existing/__test__.jsonc')
| -rw-r--r-- | tests/specs/install/install_add_dev_existing/__test__.jsonc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/specs/install/install_add_dev_existing/__test__.jsonc b/tests/specs/install/install_add_dev_existing/__test__.jsonc new file mode 100644 index 000000000..e4e2f8a31 --- /dev/null +++ b/tests/specs/install/install_add_dev_existing/__test__.jsonc @@ -0,0 +1,16 @@ +{ + "tempDir": true, + "steps": [ + { + "args": "install --dev npm:@denotest/esm-basic", + "output": "install.out" + }, + { + "args": [ + "eval", + "console.log(Deno.readTextFileSync('package.json').trim())" + ], + "output": "package.json.out" + } + ] +} |
