test(FN-4950): lock recycleWorktrees default invariants
Fusion-Task-Id: FN-4950 Fusion-Task-Lineage: ce37aa18-a5ff-4aef-a93b-768edd07978c
This commit is contained in:
committed by
gsxdsm
parent
a3e8c8f8b7
commit
faf34445e3
@@ -40,4 +40,16 @@ describe("settings defaults invariants", () => {
|
||||
}),
|
||||
).toBe(true);
|
||||
});
|
||||
|
||||
describe("recycleWorktrees default", () => {
|
||||
it("keeps recycleWorktrees explicitly false in project defaults", () => {
|
||||
expect(DEFAULT_PROJECT_SETTINGS.recycleWorktrees).toBe(false);
|
||||
expect("recycleWorktrees" in DEFAULT_PROJECT_SETTINGS).toBe(true);
|
||||
});
|
||||
|
||||
it("keeps recycleWorktrees project-scoped only", () => {
|
||||
// recycleWorktrees intentionally has no DEFAULT_GLOBAL_SETTINGS counterpart.
|
||||
expect("recycleWorktrees" in DEFAULT_GLOBAL_SETTINGS).toBe(false);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user