File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,17 @@ function runCommand(command: string): Promise<string> {
1313 } ) ;
1414}
1515
16- describe ( "CLI Completion Tests" , ( ) => {
16+ describe ( "CLI Completion Tests cac " , ( ) => {
1717 it ( "should complete vite commands" , async ( ) => {
18- const output = await runCommand ( "pnpm tsx demo.ts complete --" ) ;
18+ const output = await runCommand ( "pnpm tsx demo.cac. ts complete --" ) ;
1919 console . log ( "Command Output:" , output ) ;
2020 expect ( output ) . toContain ( "src/" ) ;
2121 expect ( output ) . toContain ( "./" ) ;
2222 // expect(output).toContain('--base');
2323 } ) ;
2424
2525 it ( "should complete options" , async ( ) => {
26- const output = await runCommand ( "pnpm tsx demo.ts complete -- --" ) ;
26+ const output = await runCommand ( "pnpm tsx demo.cac. ts complete -- --" ) ;
2727 console . log ( "Command Output:" , output ) ;
2828 expect ( output ) . toContain ( "--port" ) ;
2929 expect ( output ) . toContain ( "--config" ) ;
You can’t perform that action at this time.
0 commit comments