Cover -o=true override of T3_NO_OPEN env
Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
1 parent
cbb0476d29
commit
814f075ddc
1 file changed
+5
@@ -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"],
|
||||
|
||||
Reference in new issue
Block a user