Files
copilotkit__copilotkit/packages/v1/cli/test/commands/dev.test.ts
Jordan Ritter bee70690bb feat: move CLI package from CopilotCloud into monorepo
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).
2026-03-12 13:06:03 -07:00

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");
});
});