From ad66dc09b9fa63d900e5f1dc82c5c47dbc579aa2 Mon Sep 17 00:00:00 2001 From: Josh Lehman Date: Fri, 13 Mar 2026 13:05:15 -0700 Subject: [PATCH] test: fix pre-existing tsgo errors in backup-create and pairing-pending tests --- src/infra/backup-create.test.ts | 2 +- src/infra/pairing-pending.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/infra/backup-create.test.ts b/src/infra/backup-create.test.ts index a91d30c774a..2d648a1a07a 100644 --- a/src/infra/backup-create.test.ts +++ b/src/infra/backup-create.test.ts @@ -64,7 +64,7 @@ describe("formatBackupCreateSummary", () => { displayPath: "~/.openclaw/config.json", }, { - kind: "oauth", + kind: "credentials", sourcePath: "/oauth", archivePath: "archive/oauth", displayPath: "~/.openclaw/oauth", diff --git a/src/infra/pairing-pending.test.ts b/src/infra/pairing-pending.test.ts index 30c2551176b..e0158767cf9 100644 --- a/src/infra/pairing-pending.test.ts +++ b/src/infra/pairing-pending.test.ts @@ -33,7 +33,7 @@ describe("rejectPendingPairingRequest", () => { idKey: "accountId", loadState: async () => state, persistState, - getId: (pending) => pending.accountId, + getId: (pending: { accountId: string }) => pending.accountId, }), ).resolves.toEqual({ requestId: "reject",