diff --git a/packages/@best/cli/src/cli/__tests__/args.spec.ts b/packages/@best/cli/src/cli/__tests__/args.spec.ts new file mode 100644 index 00000000..6da1a535 --- /dev/null +++ b/packages/@best/cli/src/cli/__tests__/args.spec.ts @@ -0,0 +1,8 @@ +import { buildArgs } from "../index"; + +describe("cli options", () => { + test("test default path args", () => { + const result = buildArgs(["path"]); + expect(result._).toStrictEqual(["path"]); + }); +});