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",