refactor: remove unused runtime and WebUI helpers (#5999)
* refactor: remove unused runtime and WebUI helpers * fix: preserve exported agent helper methods
This commit is contained in:
1 parent
d3d70f2065
commit
6ecb74aea9
17 files changed
+26
-143
No files matched your search
@@ -52,7 +52,6 @@ import {
|
||||
pollChannelConnect,
|
||||
startChannelConnect,
|
||||
updateAutomation,
|
||||
updateSidebarState,
|
||||
updateImageGenerationSettings,
|
||||
updateModelCallOrder,
|
||||
updateModelConfiguration,
|
||||
@@ -1158,7 +1157,7 @@ describe("webui API helpers", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("reads and writes persisted sidebar state", async () => {
|
||||
it("reads persisted sidebar state", async () => {
|
||||
const state = {
|
||||
schema_version: 1,
|
||||
pinned_keys: ["websocket:chat-1"],
|
||||
@@ -1189,13 +1188,6 @@ describe("webui API helpers", () => {
|
||||
headers: { Authorization: "Bearer tok" },
|
||||
}),
|
||||
);
|
||||
|
||||
await updateSidebarState(mutationTransport, state);
|
||||
expect(requestMutation).toHaveBeenCalledWith(
|
||||
"sidebar.update",
|
||||
{ state },
|
||||
20_000,
|
||||
);
|
||||
});
|
||||
|
||||
it("fetches workspace project state", async () => {
|
||||
|
||||
Reference in new issue
Block a user