summaryrefslogtreecommitdiff
path: root/tests/specs/run/patch/__test__.jsonc
blob: 00ae3baac2d590a803f0495ae4e9f0b9bc68d108 (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,
  "tests": {
    "matching_version": {
      "cwd": "./my-pkg",
      "steps": [{
        "args": "test",
        "output": "test.out"
      }, {
        "args": "lint",
        "output": "Checked 2 files\n"
      }]
    },
    "not_matching_version": {
      "steps": [{
        "args": "run --allow-read=. --allow-write=. modify_version.ts",
        "output": "[WILDCARD]"
      }, {
        "cwd": "./my-pkg",
        "args": "test",
        "output": "not_matching_version.out"
      }]
    }
  }
}