summaryrefslogtreecommitdiff
path: root/tests/specs/install/install_deprecated_package/__test__.jsonc
blob: bca03b510dec1da99d6723ea4637012b8cb6f6d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  "tempDir": true,
  "steps": [
    {
      "args": "install npm:@denotest/deprecated-package",
      "output": "install.out"
    },
    {
      // make sure the dep got cached
      "args": "run --cached-only main.js",
      "exitCode": 0,
      "output": ""
    },
    {
      "args": [
        "eval",
        "console.log(Deno.readTextFileSync('package.json').trim())"
      ],
      "output": "package.json.out"
    }
  ]
}