Skip to content

Commit 40e8782

Browse files
committed
test: dedupe cron skills snapshot mock read
1 parent d97f726 commit 40e8782

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cron/isolated-agent/skills-snapshot.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe("resolveCronSkillsSnapshot", () => {
5454
});
5555

5656
expect(buildWorkspaceSkillSnapshotMock).toHaveBeenCalledOnce();
57-
const snapshotOptions = buildWorkspaceSkillSnapshotMock.mock.calls.at(0)?.[1] as
57+
const snapshotOptions = buildWorkspaceSkillSnapshotMock.mock.calls[0]?.[1] as
5858
| { agentId?: string; snapshotVersion?: number }
5959
| undefined;
6060
expect(snapshotOptions?.agentId).toBe("writer");

0 commit comments

Comments
 (0)