mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 15:44:31 +00:00
test: fix rebase-introduced tsgo regressions
This commit is contained in:
committed by
Peter Steinberger
parent
1357e02cff
commit
21087c5c70
@@ -604,7 +604,7 @@ describe("sendMessageTelegram", () => {
|
||||
...("replyToMessageId" in testCase.options
|
||||
? { replyToMessageId: testCase.options.replyToMessageId }
|
||||
: {}),
|
||||
...("buttons" in testCase.options
|
||||
...(Array.isArray(testCase.options.buttons)
|
||||
? {
|
||||
buttons: testCase.options.buttons.map((row) => row.map((button) => ({ ...button }))),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user