From 3f59add5b4dbfa6d31068d12ce12a7c55bfcd7bf Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 10 Feb 2026 01:52:23 +0000 Subject: [PATCH] Cover T3_NO_OPEN off-value environment parsing Co-authored-by: Theo Browne --- apps/t3/src/cli.test.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/apps/t3/src/cli.test.ts b/apps/t3/src/cli.test.ts index c43e4ed84f..a12e0243a6 100644 --- a/apps/t3/src/cli.test.ts +++ b/apps/t3/src/cli.test.ts @@ -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( [