1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-30 16:40:57 -05:00
denoland-deno/tests/specs/fmt/default_ts/__test__.jsonc

24 lines
530 B
Text
Raw Normal View History

{
"tempDir": true,
"tests": {
"stdin": {
"args": "fmt -",
"input": "const x: string = \"foo\";",
"output": "const x: string = \"foo\";\n"
},
"ext_flag": {
"args": "fmt --ext=ts as_ts.js",
"output": "Checked 1 file\n"
},
"extensionless": {
"args": "fmt extensionless",
"output": "error: No target files found.\n",
"exitCode": 1
},
"extensionless_with_flag": {
"args": "fmt --ext=ts extensionless",
"output": "Checked 1 file\n"
}
}
}