Cover T3_NO_OPEN false-value environment parsing
Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
1 parent
1870118593
commit
d47b08fc99
1 file changed
+11
@@ -224,6 +224,17 @@ describe("parseCliOptions", () => {
|
||||
expect(options.noOpen).toBe(false);
|
||||
});
|
||||
|
||||
it("treats false as disabled T3_NO_OPEN value", () => {
|
||||
const options = parseCliOptions(
|
||||
[],
|
||||
{
|
||||
T3_NO_OPEN: "false",
|
||||
},
|
||||
"/workspace",
|
||||
);
|
||||
expect(options.noOpen).toBe(false);
|
||||
});
|
||||
|
||||
it("treats unknown T3_NO_OPEN values as disabled", () => {
|
||||
const options = parseCliOptions(
|
||||
[],
|
||||
|
||||
Reference in new issue
Block a user