Cover --no-open=yes equals-value parsing

Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
Cursor AgentandTheo Browne committed 2026-02-10 01:51:39 +00:00
1 parent adb7824166
commit bb152c985c
1 file changed
+5
+5
View File
@@ -102,6 +102,11 @@ describe("parseCliOptions", () => {
expect(options.noOpen).toBe(false);
});
it("supports yes as equals-style --no-open true value", () => {
const options = parseCliOptions(["--no-open=yes"], {}, "/workspace");
expect(options.noOpen).toBe(true);
});
it("parses case-insensitive and trimmed T3_NO_OPEN truthy values", () => {
const options = parseCliOptions(
[],