style: format dynamic route coverage (#116197)

This commit is contained in:
Shakker
2026-07-30 03:45:36 +01:00
committed by Shakker
parent f645327c8e
commit e7d01b511b
2 changed files with 2 additions and 8 deletions
@@ -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 -5
View File
@@ -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";