Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions tests/__snapshots__/cli.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ vite.config.js Vite config file
`;

exports[`cli completion tests for cac > --config option tests > should complete --config option with equals sign 1`] = `
"--config=vite.config.ts Vite config file
--config=vite.config.js Vite config file
"vite.config.ts Vite config file
vite.config.js Vite config file
:4
"
`;
Expand Down Expand Up @@ -84,7 +84,7 @@ vite.config.js Vite config file
`;

exports[`cli completion tests for cac > cli option value handling > should resolve port value correctly 1`] = `
"--port=3000 Development server port
"3000 Development server port
:4
"
`;
Expand Down Expand Up @@ -132,8 +132,8 @@ exports[`cli completion tests for cac > edge case completions for end with space
`;

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`] = `
"--port=3000 Development server port
--port=8080 Alternative port
"3000 Development server port
8080 Alternative port
:4
"
`;
Expand Down Expand Up @@ -283,7 +283,7 @@ exports[`cli completion tests for cac > short flag handling > should handle shor
`;

exports[`cli completion tests for cac > short flag handling > should handle short flag with equals sign 1`] = `
"-p=3000 Development server port
"3000 Development server port
:4
"
`;
Expand Down Expand Up @@ -313,8 +313,8 @@ vite.config.js Vite config file
`;

exports[`cli completion tests for citty > --config option tests > should complete --config option with equals sign 1`] = `
"--config=vite.config.ts Vite config file
--config=vite.config.js Vite config file
"vite.config.ts Vite config file
vite.config.js Vite config file
:4
"
`;
Expand Down Expand Up @@ -391,7 +391,7 @@ vite.config.js Vite config file
`;

exports[`cli completion tests for citty > cli option value handling > should resolve port value correctly 1`] = `
"--port=3000 Development server port
"3000 Development server port
:4
"
`;
Expand Down Expand Up @@ -439,8 +439,8 @@ exports[`cli completion tests for citty > edge case completions for end with spa
`;

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`] = `
"--port=3000 Development server port
--port=8080 Alternative port
"3000 Development server port
8080 Alternative port
:4
"
`;
Expand Down Expand Up @@ -595,7 +595,7 @@ exports[`cli completion tests for citty > short flag handling > should handle sh
`;

exports[`cli completion tests for citty > short flag handling > should handle short flag with equals sign 1`] = `
"-p=3000 Development server port
"3000 Development server port
:4
"
`;
Expand Down Expand Up @@ -645,8 +645,8 @@ vite.config.js Vite config file
`;

exports[`cli completion tests for t > --config option tests > should complete --config option with equals sign 1`] = `
"--config=vite.config.ts Vite config file
--config=vite.config.js Vite config file
"vite.config.ts Vite config file
vite.config.js Vite config file
:4
"
`;
Expand Down Expand Up @@ -721,7 +721,7 @@ vite.config.js Vite config file
`;

exports[`cli completion tests for t > cli option value handling > should resolve port value correctly 1`] = `
"--port=3000 Development server port
"3000 Development server port
:4
"
`;
Expand Down Expand Up @@ -769,8 +769,8 @@ exports[`cli completion tests for t > edge case completions for end with space >
`;

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`] = `
"--port=3000 Development server port
--port=8080 Alternative port
"3000 Development server port
8080 Alternative port
:4
"
`;
Expand Down Expand Up @@ -934,7 +934,7 @@ exports[`cli completion tests for t > short flag handling > should handle short
`;

exports[`cli completion tests for t > short flag handling > should handle short flag with equals sign 1`] = `
"-p=3000 Development server port
"3000 Development server port
:4
"
`;
Expand Down
Loading