test: fix pre-existing tsgo errors in backup-create and pairing-pending tests

This commit is contained in:
Josh Lehman 2026-03-13 13:05:15 -07:00
parent c1cc474a57
commit ad66dc09b9
No known key found for this signature in database
GPG Key ID: D141B425AC7F876B
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ describe("formatBackupCreateSummary", () => {
displayPath: "~/.openclaw/config.json",
},
{
kind: "oauth",
kind: "credentials",
sourcePath: "/oauth",
archivePath: "archive/oauth",
displayPath: "~/.openclaw/oauth",

View File

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