diff options
| author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-09-04 13:06:16 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-04 13:06:16 -0700 |
| commit | c32d692a8f37c50fd700bb320571f76a107a44c2 (patch) | |
| tree | 3a94f358db8ea390a35e742495848c4b69288fba /tests/specs/install/install_entrypoint/__test__.jsonc | |
| parent | e27a19c02c537626d7874f7521f4e39d6dfad0af (diff) | |
feat(install): deno install with entrypoint (#25411)
```
deno install --entrypoint one.ts two.ts
```
effectively equivalent to `deno cache`
Diffstat (limited to 'tests/specs/install/install_entrypoint/__test__.jsonc')
| -rw-r--r-- | tests/specs/install/install_entrypoint/__test__.jsonc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/specs/install/install_entrypoint/__test__.jsonc b/tests/specs/install/install_entrypoint/__test__.jsonc new file mode 100644 index 000000000..1afe195e2 --- /dev/null +++ b/tests/specs/install/install_entrypoint/__test__.jsonc @@ -0,0 +1,21 @@ +{ + "tempDir": true, + "tests": { + "basic": { + "steps": [ + { + "args": "install --entrypoint main.ts second.ts", + "output": "install.out" + } + ] + }, + "allow_scripts": { + "steps": [ + { + "args": "install --allow-scripts --node-modules-dir=auto --entrypoint lifecycle.ts", + "output": "lifecycle.out" + } + ] + } + } +} |
