From 4d7fdad80bca6e7ab16bcee10a8e8571990fbec5 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 9 Feb 2026 23:59:03 +0000 Subject: [PATCH] Cover T3_NO_OPEN yes-value 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 96992ebaa1..9371d5a12e 100644 --- a/apps/t3/src/cli.test.ts +++ b/apps/t3/src/cli.test.ts @@ -58,6 +58,17 @@ describe("parseCliOptions", () => { expect(options.noOpen).toBe(true); }); + it("accepts 'yes' as T3_NO_OPEN truthy value", () => { + const options = parseCliOptions( + [], + { + T3_NO_OPEN: "yes", + }, + "/workspace", + ); + expect(options.noOpen).toBe(true); + }); + it("treats non-truthy T3_NO_OPEN values as disabled", () => { const options = parseCliOptions( [],