Skip to content

Commit 1ae9d82

Browse files
committed
test: dedupe cron enqueue mock read
1 parent f706d3c commit 1ae9d82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/cron/service.issue-16156-list-skips-cron.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function createCronFromStorePath(storePath: string) {
3131
function requireEnqueueSystemEventCall(
3232
enqueueSystemEvent: ReturnType<typeof vi.fn>,
3333
): [string, { agentId?: string } | undefined] {
34-
const call = enqueueSystemEvent.mock.calls.at(0);
34+
const call = enqueueSystemEvent.mock.calls[0];
3535
if (!call) {
3636
throw new Error("Expected enqueueSystemEvent call");
3737
}

0 commit comments

Comments
 (0)