summaryrefslogtreecommitdiff
path: root/tests/specs/install/future_install_local_deno/__test__.jsonc
blob: 928030699cbd1ee7c015cc81ebc5c96c4f613443 (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,
  "envs": {
    "DENO_FUTURE": "1"
  },
  "steps": [
    {
      "args": "install",
      "output": "install.out"
    },
    {
      // ensure deps are actually cached
      "args": "run --cached-only main.js",
      "output": ""
    },
    {
      // check for lockfile
      "args": [
        "eval",
        "console.log(Deno.readTextFileSync('./deno.lock').trim())"
      ],
      "output": "deno.lock.out"
    }
  ]
}