Files

10 lines
402 B
TypeScript

import { describe, expect, it } from "bun:test";
import { CONFIG_DIR_NAME, parseArgs } from "@oh-my-pi/pi-coding-agent/extensibility/legacy-pi-coding-agent-shim";
describe("legacy shim CLI exports", () => {
it("re-exports parseArgs and CONFIG_DIR_NAME from the legacy package root", () => {
expect(CONFIG_DIR_NAME).toBe(".omp");
expect(parseArgs(["hello"]).messages).toEqual(["hello"]);
});
});