summaryrefslogtreecommitdiff
path: root/tests/specs/add/missing_npm_specifier
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2024-09-18 11:38:22 -0700
committerGitHub <noreply@github.com>2024-09-18 20:38:22 +0200
commitec86089c4e95eabbf9edc48491031eb6711a410f (patch)
tree3b441ba1bc9f7f95b6d87b4439cec78176db39c4 /tests/specs/add/missing_npm_specifier
parentc90b07457958518a8830798d8800f647f897d12f (diff)
feat: require jsr prefix for `deno install` and `deno add` (#25698)
Diffstat (limited to 'tests/specs/add/missing_npm_specifier')
-rw-r--r--tests/specs/add/missing_npm_specifier/__test__.jsonc8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/specs/add/missing_npm_specifier/__test__.jsonc b/tests/specs/add/missing_npm_specifier/__test__.jsonc
index 10e109c95..3e3f8df96 100644
--- a/tests/specs/add/missing_npm_specifier/__test__.jsonc
+++ b/tests/specs/add/missing_npm_specifier/__test__.jsonc
@@ -2,22 +2,22 @@
"tempDir": true,
"steps": [
{
- "args": "add ajv@latest",
+ "args": "add jsr:ajv@latest",
"output": "error: jsr:ajv was not found, but a matching npm package exists. Did you mean `deno add npm:ajv@latest`?\n",
"exitCode": 1
},
{
- "args": "add ajv",
+ "args": "add jsr:ajv",
"output": "error: jsr:ajv was not found, but a matching npm package exists. Did you mean `deno add npm:ajv`?\n",
"exitCode": 1
},
{
- "args": "add ajv@8.11.0",
+ "args": "add jsr:ajv@8.11.0",
"output": "error: jsr:ajv was not found, but a matching npm package exists. Did you mean `deno add npm:ajv@8.11.0`?\n",
"exitCode": 1
},
{
- "args": "install ajv@latest",
+ "args": "install jsr:ajv@latest",
"output": "error: jsr:ajv was not found, but a matching npm package exists. Did you mean `deno install npm:ajv@latest`?\n",
"exitCode": 1
}