summaryrefslogtreecommitdiff
path: root/std/prettier/main_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/prettier/main_test.ts')
-rw-r--r--std/prettier/main_test.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/std/prettier/main_test.ts b/std/prettier/main_test.ts
index 5e9c0ad57..0a7a05a46 100644
--- a/std/prettier/main_test.ts
+++ b/std/prettier/main_test.ts
@@ -25,7 +25,8 @@ const cmd = [
"--allow-run",
"--allow-write",
"--allow-read",
- "./prettier/main.ts"
+ "./prettier/main.ts",
+ "--"
];
const testdata = join("prettier", "testdata");
@@ -402,6 +403,7 @@ test(async function testPrettierWithAutoConfig(): Promise<void> {
"--allow-read",
"--allow-env",
prettierFile,
+ "--",
"../5.ts",
"--config",
"auto"
@@ -468,6 +470,7 @@ test(async function testPrettierWithSpecifiedConfig(): Promise<void> {
"--allow-read",
"--allow-env",
prettierFile,
+ "--",
"../5.ts",
"--config",
config.name
@@ -503,6 +506,7 @@ test(async function testPrettierWithAutoIgnore(): Promise<void> {
"--allow-read",
"--allow-env",
prettierFile,
+ "--",
"**/*",
"--ignore-path",
"auto"
@@ -531,6 +535,7 @@ test(async function testPrettierWithSpecifiedIgnore(): Promise<void> {
"--allow-read",
"--allow-env",
prettierFile,
+ "--",
"**/*",
"--ignore-path",
"typescript.prettierignore"