diff --git a/src/infra/outbound/message.channels.test.ts b/src/infra/outbound/message.channels.test.ts index f9026ba37f03..2e588494b814 100644 --- a/src/infra/outbound/message.channels.test.ts +++ b/src/infra/outbound/message.channels.test.ts @@ -171,7 +171,7 @@ describe("sendMessage channel normalization", () => { }, assertDeps: (deps: { localchat?: ReturnType }) => { expect(deps.localchat).toHaveBeenCalledTimes(1); - const [to, text, options] = deps.localchat?.mock.calls.at(0) ?? []; + const [to, text, options] = deps.localchat?.mock.calls[0] ?? []; expect(to).toBe("someone@example.com"); expect(text).toBe("hi"); expect(typeof options).toBe("object");