Skip to content

Commit 2dccc67

Browse files
committed
chore: quiet lint on journal reader tests and custodian harness
1 parent f1cae48 commit 2dccc67

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/gateway/server-methods/system-changes.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ describe("openclaw.changes.list", () => {
278278
expect(third.nextCursor).toBeUndefined();
279279
const entries = [...first.entries, ...second.entries, ...third.entries];
280280
expect(entries.map((entry) => entry.at)).toEqual(
281-
[...entries.map((entry) => entry.at)].toSorted((left, right) => right - left),
281+
entries.map((entry) => entry.at).toSorted((left, right) => right - left),
282282
);
283283
expect(entries.map((entry) => entry.id)).toEqual([
284284
...new Set(entries.map((entry) => entry.id)),

‎ui/src/pages/custodian/custodian-page.test-harness.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ import {
1515
} from "../../test-helpers/application-context.ts";
1616
import "./custodian-page.ts";
1717

18-
export type TestCustodianPage = HTMLElement & {
18+
type TestCustodianPage = HTMLElement & {
1919
onboarding: boolean;
2020
updateComplete: Promise<boolean>;
2121
};
2222

23-
export type ContextHarness = {
23+
type ContextHarness = {
2424
context: ApplicationContext;
2525
setGatewaySnapshot: (patch: Partial<ApplicationGatewaySnapshot>) => void;
2626
setGatewayUrl: (gatewayUrl: string) => void;

0 commit comments

Comments
 (0)