Remove custom providers from settings (#1951)
* feat(providers): remove custom providers from settings Add a destructive removal flow so mistaken custom providers can be deleted from config.json instead of only disabled. * test(app): cover provider removal with e2e Move provider removal coverage out of mocked component tests and into the real Settings flow. * fix(providers): keep removal live after config updates
This commit is contained in:
@@ -368,4 +368,18 @@ describe("checkout PR schemas", () => {
|
||||
projectAdd: true,
|
||||
});
|
||||
});
|
||||
|
||||
test("accepts the provider removal server_info feature flag", () => {
|
||||
expect(
|
||||
ServerInfoStatusPayloadSchema.parse({
|
||||
status: "server_info",
|
||||
serverId: "srv_test",
|
||||
features: {
|
||||
providerRemoval: true,
|
||||
},
|
||||
}).features,
|
||||
).toEqual({
|
||||
providerRemoval: true,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user