diff --git a/apps/t3/src/cli.test.ts b/apps/t3/src/cli.test.ts index f8e44f5882..378cce56d0 100644 --- a/apps/t3/src/cli.test.ts +++ b/apps/t3/src/cli.test.ts @@ -100,6 +100,11 @@ describe("parseCliOptions", () => { expect(disabled.noOpen).toBe(true); }); + it("lets -o=true override truthy no-open environment defaults", () => { + const options = parseCliOptions(["-o=true"], { T3_NO_OPEN: "yes" }, "/workspace"); + expect(options.noOpen).toBe(false); + }); + it("supports explicit equals-style --open boolean overrides", () => { const options = parseCliOptions( ["--open=false"],