summaryrefslogtreecommitdiff
path: root/tests/specs/fmt/unstable_css/__test__.jsonc
blob: 32259f3ae4e8c679446f55e851502f92aedc6f53 (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": {
    "nothing": {
      "args": "fmt",
      "output": "Checked 1 file\n"
    },
    "flag": {
      "args": "fmt --unstable-css",
      "output": "[WILDLINE]badly_formatted.css\nChecked 1 file\n"
    },
    "config_file": {
      "steps": [{
        "args": [
          "eval",
          "Deno.writeTextFile('deno.json', '{\\n  \"unstable\": [\"fmt-css\"]\\n}\\n')"
        ],
        "output": "[WILDCARD]"
      }, {
        "args": "fmt",
        "output": "[WILDLINE]badly_formatted.css\nChecked 2 files\n"
      }]
    }
  }
}