diff --git a/backend/src/middleware/notifications/notificationsMiddleware.spec.ts b/backend/src/middleware/notifications/notificationsMiddleware.spec.ts index cf004ea52..15344ebe6 100644 --- a/backend/src/middleware/notifications/notificationsMiddleware.spec.ts +++ b/backend/src/middleware/notifications/notificationsMiddleware.spec.ts @@ -981,6 +981,7 @@ describe('notifications', () => { expect(sendChatMessageMailMock).toHaveBeenCalledTimes(1) expect(sendChatMessageMailMock).toHaveBeenCalledWith({ + roomId, email: 'user@example.org', senderUser: expect.objectContaining({ name: 'chatSender',