Skip to content

Commit 8c67a99

Browse files
kameron-smith-closuranullStack65
authored andcommitted
test(acp): cover the default-off root session replacement setting
1 parent cea9132 commit 8c67a99

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎apps/web/src/components/settings/ProviderSettingsForm.test.ts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,13 @@ describe("ProviderSettingsForm helpers", () => {
6060
"agentId",
6161
"commandPath",
6262
"authMethodId",
63+
"rootSessionReplacement",
6364
]);
65+
expect(deriveProviderSettingsFields(acpRegistry!).at(-1)).toMatchObject({
66+
key: "rootSessionReplacement",
67+
control: "switch",
68+
defaultBooleanValue: false,
69+
});
6470
});
6571

6672
it("derives a select control with its choices for the Antigravity sign-in method", () => {

0 commit comments

Comments
 (0)