Cover T3_NO_OPEN off-value environment parsing

Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
Cursor AgentandTheo Browne committed 2026-02-10 01:52:23 +00:00
1 parent bb152c985c
commit 3f59add5b4
1 file changed
+11
+11
View File
@@ -162,6 +162,17 @@ describe("parseCliOptions", () => {
expect(options.noOpen).toBe(false);
});
it("treats off as disabled T3_NO_OPEN value", () => {
const options = parseCliOptions(
[],
{
T3_NO_OPEN: "off",
},
"/workspace",
);
expect(options.noOpen).toBe(false);
});
it("allows command line arguments to override defaults", () => {
const options = parseCliOptions(
[