Skip to content

Commit 4c7b0a1

Browse files
committed
cac tests
1 parent dc106b0 commit 4c7b0a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/cli.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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");

0 commit comments

Comments
 (0)