summaryrefslogtreecommitdiff
path: root/tests/specs/add/missing_npm_specifier/__test__.jsonc
blob: 34cc61a373d7e7a62f8ccd4f764031e0408a7209 (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
26
27
28
{
  "tempDir": true,
  "steps": [
    {
      "args": "add 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",
      "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",
      "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
    },
    {
      "envs": {
        "DENO_FUTURE": "1"
      },
      "args": "install 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
    }
  ]
}