Skip to content

Commit f50600b

Browse files
committed
test(ui): pass current runtime config through sidebar prefs reconcile fixture
1 parent 98ea216 commit f50600b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎ui/src/app/app-host.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,8 @@ describe("OpenClaw shell server preferences", () => {
469469
gateway: { connection: { gatewayUrl: "ws://sidebar.test" } },
470470
navigation: { update: updateNavigation },
471471
theme: { refresh: refreshTheme },
472+
// reconcileServerUiPrefs only accepts the current context's capability.
473+
runtimeConfig,
472474
} as unknown as ApplicationContext;
473475
const shell = document.createElement(
474476
"openclaw-app-shell",

0 commit comments

Comments
 (0)