test(server): an apply to a plugin that reports controls sends its changes as provider options

This commit is contained in:
Mohamed Boudra
2026-11-05 16:23:15 +01:00
parent 5b775546eb
commit 91a9de9aaa
@@ -1369,7 +1369,7 @@ describe("PluginAgentClientRegistry", () => {
const firstFailed = expect(first).rejects.toThrow("no");
await pause();
expect(lastConfigure(harness.inputs)).toMatchObject({
changes: { settings: { loud: true } },
changes: { providerOptions: { loud: true } },
});
const second = session.applyOptions?.({ voice: "other" });
// The second request does not start until the first has ended, so it cannot settle first.