test: dedupe device pair qr mock read · openclaw/openclaw@29ac94b
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -484,7 +484,7 @@ describe("device-pair /pair qr", () => {
|
484 | 484 | const text = requireText(result); |
485 | 485 | |
486 | 486 | expect(sendMessage).toHaveBeenCalledTimes(1); |
487 | | -const [target, caption, opts] = sendMessage.mock.calls.at(0) as [ |
| 487 | +const [target, caption, opts] = sendMessage.mock.calls[0] as [ |
488 | 488 | string, |
489 | 489 | string, |
490 | 490 | { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。