mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-01 22:23:07 +00:00
test(server): assert the forwarded plugin setting without nesting callbacks
This commit is contained in:
@@ -1082,11 +1082,9 @@ describe("PluginAgentClientRegistry", () => {
|
||||
|
||||
changeOnItsOwn({ loud: true });
|
||||
|
||||
await vi.waitFor(() =>
|
||||
expect(eventsOfType(events, "options_changed")).toEqual([
|
||||
{ type: "options_changed", provider: "plugin-direct", patch: { loud: true } },
|
||||
]),
|
||||
);
|
||||
expect(eventsOfType(events, "options_changed")).toEqual([
|
||||
{ type: "options_changed", provider: "plugin-direct", patch: { loud: true } },
|
||||
]);
|
||||
await session.close();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user