summaryrefslogtreecommitdiff
path: root/tests/specs/add/missing_npm_specifier/__test__.jsonc
blob: 3e3f8df9661cac0ebb7a51b0860f88333cccc8dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
  "tempDir": true,
  "steps": [
    {
      "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 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 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 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
    }
  ]
}