Cover T3_NO_OPEN false-value environment parsing

Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
Cursor AgentandTheo Browne committed 2026-02-10 02:23:47 +00:00
1 parent 1870118593
commit d47b08fc99
1 file changed
+11
+11
View File
@@ -224,6 +224,17 @@ describe("parseCliOptions", () => {
expect(options.noOpen).toBe(false);
});
it("treats false as disabled T3_NO_OPEN value", () => {
const options = parseCliOptions(
[],
{
T3_NO_OPEN: "false",
},
"/workspace",
);
expect(options.noOpen).toBe(false);
});
it("treats unknown T3_NO_OPEN values as disabled", () => {
const options = parseCliOptions(
[],