test: dedupe cron skills snapshot mock read · openclaw/openclaw@40e8782
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
Commit 40e8782
test: dedupe cron skills snapshot mock read
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|
@@ -54,7 +54,7 @@ describe("resolveCronSkillsSnapshot", () => {
|
54 | 54 | }); |
55 | 55 | |
56 | 56 | expect(buildWorkspaceSkillSnapshotMock).toHaveBeenCalledOnce(); |
57 | | -const snapshotOptions = buildWorkspaceSkillSnapshotMock.mock.calls.at(0)?.[1] as |
| 57 | +const snapshotOptions = buildWorkspaceSkillSnapshotMock.mock.calls[0]?.[1] as |
58 | 58 | | { agentId?: string; snapshotVersion?: number } |
59 | 59 | | undefined; |
60 | 60 | expect(snapshotOptions?.agentId).toBe("writer"); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
0 commit comments
Comments
(0)