mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
bee70690bb
Migrate the copilotkit CLI (npx copilotkit create/init/dev) from CopilotCloud into packages/v1/cli. TEMPLATE_REPOS updated to use monorepo subdirectory sparse checkout for all CopilotKit-owned templates, with tarball fallback for external repos (ag2).
15 lines
395 B
TypeScript
15 lines
395 B
TypeScript
import { runCommand } from "@oclif/test";
|
|
import { expect } from "chai";
|
|
|
|
describe("dev", () => {
|
|
it("runs dev cmd", async () => {
|
|
const { stdout } = await runCommand("dev");
|
|
expect(stdout).to.contain("hello world");
|
|
});
|
|
|
|
it("runs dev --name oclif", async () => {
|
|
const { stdout } = await runCommand("dev --name oclif");
|
|
expect(stdout).to.contain("hello oclif");
|
|
});
|
|
});
|