summaryrefslogtreecommitdiff
path: root/tests/specs/lint/sloppy_imports_dts/__test__.jsonc
blob: 2650d7ec202e1349da176cc3fa45019e2a18ef53 (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
29
30
31
32
33
34
{
  "tests": {
    "check": {
      "args": "check --unstable-sloppy-imports main.ts",
      "output": "check.out"
    },
    "run": {
      "args": "run --unstable-sloppy-imports main.ts",
      "output": "run.out"
    },
    "lint": {
      "args": "lint --unstable-sloppy-imports",
      "output": "lint.out",
      "exitCode": 1
    },
    // try fixing the lint issues and then ensure deno check and run still work
    "lint_fix": {
      "tempDir": true,
      "steps": [{
        "args": "lint --unstable-sloppy-imports --fix",
        "output": "Checked 17 files\n"
      }, {
        "args": "lint --unstable-sloppy-imports",
        "output": "Checked 17 files\n"
      }, {
        "args": "check --unstable-sloppy-imports main.ts",
        "output": "check.out"
      }, {
        "args": "run --unstable-sloppy-imports main.ts",
        "output": "run.out"
      }]
    }
  }
}