Skip to content

Commit e7d01b5

Browse files
committed
style: format dynamic route coverage (#116197)
1 parent f645327 commit e7d01b5

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

‎ui/src/e2e/dynamic-route-loader-count.e2e.test.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ describeControlUiE2e("Control UI dynamic route startup loaders", () => {
7575

7676
const socketCount = await gateway.getSocketCount();
7777
await gateway.closeLatest(1001, "route loader reconnect proof");
78-
await expect
79-
.poll(() => gateway.getSocketCount(), { timeout: 10_000 })
80-
.toBe(socketCount + 1);
78+
await expect.poll(() => gateway.getSocketCount(), { timeout: 10_000 }).toBe(socketCount + 1);
8179
await waitForControlUiRoute(page, { pathname, routeId: "plugins" });
8280
expect(await activeRouteFetchCount(page)).toBe(1);
8381
} finally {

‎ui/src/pages/chat/route.ts‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
import type { RouteLocation } from "@openclaw/uirouter";
22
import { definePage } from "@openclaw/uirouter";
33
import { html, nothing } from "lit";
4-
import {
5-
INTERNAL_SESSION_PATH_PARAM,
6-
pathForRoute,
7-
routePageSpec,
8-
} from "../../app-route-paths.ts";
4+
import { INTERNAL_SESSION_PATH_PARAM, pathForRoute, routePageSpec } from "../../app-route-paths.ts";
95
import type { ApplicationContext } from "../../app/context.ts";
106
import { t } from "../../i18n/index.ts";
117
import type { BoardFace } from "../../lib/board/settings.ts";

0 commit comments

Comments
 (0)