summaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-09-19 05:55:50 +1000
committerGitHub <noreply@github.com>2024-09-18 19:55:50 +0000
commit5057f58145ab47276fdc4392619888e37aea8864 (patch)
treedbcc9551eaffee6f1a7c8891977e0c36f1e67343 /tests/integration
parenta1d0a427e807959666a6b23ae015e4e04659abf5 (diff)
feat: suggest `deno install --entrypoint` instead of `deno cache` (#25228)
Hides `deno cache` from `--help` output. --------- Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com> Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/npm_tests.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/integration/npm_tests.rs b/tests/integration/npm_tests.rs
index aaea65d14..3aea62fc6 100644
--- a/tests/integration/npm_tests.rs
+++ b/tests/integration/npm_tests.rs
@@ -1821,7 +1821,10 @@ fn reload_info_not_found_cache_but_exists_remote() {
{
// create it
temp_dir.write("deno.json", r#"{}"#);
- test_context.new_command().args("cache main.ts").run();
+ test_context
+ .new_command()
+ .args("install --entrypoint main.ts")
+ .run();
assert!(temp_dir.path().join("deno.lock").exists());
// remove a version found in the lockfile