mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-25 11:55:47 -06:00
style: format dynamic route coverage (#116197)
This commit is contained in:
@@ -75,9 +75,7 @@ describeControlUiE2e("Control UI dynamic route startup loaders", () => {
|
||||
|
||||
const socketCount = await gateway.getSocketCount();
|
||||
await gateway.closeLatest(1001, "route loader reconnect proof");
|
||||
await expect
|
||||
.poll(() => gateway.getSocketCount(), { timeout: 10_000 })
|
||||
.toBe(socketCount + 1);
|
||||
await expect.poll(() => gateway.getSocketCount(), { timeout: 10_000 }).toBe(socketCount + 1);
|
||||
await waitForControlUiRoute(page, { pathname, routeId: "plugins" });
|
||||
expect(await activeRouteFetchCount(page)).toBe(1);
|
||||
} finally {
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
import type { RouteLocation } from "@openclaw/uirouter";
|
||||
import { definePage } from "@openclaw/uirouter";
|
||||
import { html, nothing } from "lit";
|
||||
import {
|
||||
INTERNAL_SESSION_PATH_PARAM,
|
||||
pathForRoute,
|
||||
routePageSpec,
|
||||
} from "../../app-route-paths.ts";
|
||||
import { INTERNAL_SESSION_PATH_PARAM, pathForRoute, routePageSpec } from "../../app-route-paths.ts";
|
||||
import type { ApplicationContext } from "../../app/context.ts";
|
||||
import { t } from "../../i18n/index.ts";
|
||||
import type { BoardFace } from "../../lib/board/settings.ts";
|
||||
|
||||
Reference in New Issue
Block a user