diff --git a/src/media-understanding/apply.echo-transcript.test.ts b/src/media-understanding/apply.echo-transcript.test.ts index 1f2747a5898..3afe5cb6bc9 100644 --- a/src/media-understanding/apply.echo-transcript.test.ts +++ b/src/media-understanding/apply.echo-transcript.test.ts @@ -113,7 +113,7 @@ function disableImageUnderstanding(cfg: OpenClawConfig): void { function expectSingleEchoDeliveryCall() { expect(mockDeliverOutboundPayloads).toHaveBeenCalledOnce(); - const firstCall = mockDeliverOutboundPayloads.mock.calls[0]; + const firstCall = mockDeliverOutboundPayloads.mock.calls.at(0); if (!firstCall) { throw new Error("Expected echo transcript delivery call"); }