You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/__snapshots__/cli.test.ts.snap
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,8 @@ vite.config.js Vite config file
8
8
`;
9
9
10
10
exports[`cli completion tests for cac > --config option tests > should complete --config option with equals sign 1`] =`
11
-
"--config=vite.config.ts Vite config file
12
-
--config=vite.config.js Vite config file
11
+
"vite.config.ts Vite config file
12
+
vite.config.js Vite config file
13
13
:4
14
14
"
15
15
`;
@@ -84,7 +84,7 @@ vite.config.js Vite config file
84
84
`;
85
85
86
86
exports[`cli completion tests for cac > cli option value handling > should resolve port value correctly 1`] =`
87
-
"--port=3000 Development server port
87
+
"3000 Development server port
88
88
:4
89
89
"
90
90
`;
@@ -132,8 +132,8 @@ exports[`cli completion tests for cac > edge case completions for end with space
132
132
`;
133
133
134
134
exports[`cli completion tests for cac > edge case completions for end with space > should suggest port values if user typed \`--port=\` and hasn't typed a space or value yet 1`] =`
135
-
"--port=3000 Development server port
136
-
--port=8080 Alternative port
135
+
"3000 Development server port
136
+
8080 Alternative port
137
137
:4
138
138
"
139
139
`;
@@ -283,7 +283,7 @@ exports[`cli completion tests for cac > short flag handling > should handle shor
283
283
`;
284
284
285
285
exports[`cli completion tests for cac > short flag handling > should handle short flag with equals sign 1`] =`
286
-
"-p=3000 Development server port
286
+
"3000 Development server port
287
287
:4
288
288
"
289
289
`;
@@ -313,8 +313,8 @@ vite.config.js Vite config file
313
313
`;
314
314
315
315
exports[`cli completion tests for citty > --config option tests > should complete --config option with equals sign 1`] =`
316
-
"--config=vite.config.ts Vite config file
317
-
--config=vite.config.js Vite config file
316
+
"vite.config.ts Vite config file
317
+
vite.config.js Vite config file
318
318
:4
319
319
"
320
320
`;
@@ -391,7 +391,7 @@ vite.config.js Vite config file
391
391
`;
392
392
393
393
exports[`cli completion tests for citty > cli option value handling > should resolve port value correctly 1`] =`
394
-
"--port=3000 Development server port
394
+
"3000 Development server port
395
395
:4
396
396
"
397
397
`;
@@ -439,8 +439,8 @@ exports[`cli completion tests for citty > edge case completions for end with spa
439
439
`;
440
440
441
441
exports[`cli completion tests for citty > edge case completions for end with space > should suggest port values if user typed \`--port=\` and hasn't typed a space or value yet 1`] =`
442
-
"--port=3000 Development server port
443
-
--port=8080 Alternative port
442
+
"3000 Development server port
443
+
8080 Alternative port
444
444
:4
445
445
"
446
446
`;
@@ -595,7 +595,7 @@ exports[`cli completion tests for citty > short flag handling > should handle sh
595
595
`;
596
596
597
597
exports[`cli completion tests for citty > short flag handling > should handle short flag with equals sign 1`] =`
598
-
"-p=3000 Development server port
598
+
"3000 Development server port
599
599
:4
600
600
"
601
601
`;
@@ -645,8 +645,8 @@ vite.config.js Vite config file
645
645
`;
646
646
647
647
exports[`cli completion tests for t > --config option tests > should complete --config option with equals sign 1`] =`
648
-
"--config=vite.config.ts Vite config file
649
-
--config=vite.config.js Vite config file
648
+
"vite.config.ts Vite config file
649
+
vite.config.js Vite config file
650
650
:4
651
651
"
652
652
`;
@@ -721,7 +721,7 @@ vite.config.js Vite config file
721
721
`;
722
722
723
723
exports[`cli completion tests for t > cli option value handling > should resolve port value correctly 1`] =`
724
-
"--port=3000 Development server port
724
+
"3000 Development server port
725
725
:4
726
726
"
727
727
`;
@@ -769,8 +769,8 @@ exports[`cli completion tests for t > edge case completions for end with space >
769
769
`;
770
770
771
771
exports[`cli completion tests for t > edge case completions for end with space > should suggest port values if user typed \`--port=\` and hasn't typed a space or value yet 1`] =`
772
-
"--port=3000 Development server port
773
-
--port=8080 Alternative port
772
+
"3000 Development server port
773
+
8080 Alternative port
774
774
:4
775
775
"
776
776
`;
@@ -934,7 +934,7 @@ exports[`cli completion tests for t > short flag handling > should handle short
934
934
`;
935
935
936
936
exports[`cli completion tests for t > short flag handling > should handle short flag with equals sign 1`] =`
0 commit comments