Add Flutter Figma backend support
This commit is contained in:
@@ -68,6 +68,13 @@ describe('ChatService realtime message broadcasting', () => {
|
||||
expect(result).toBe(message);
|
||||
expect(chatRealtimeService.emitNewMessage).toHaveBeenCalledTimes(1);
|
||||
expect(chatRealtimeService.emitNewMessage).toHaveBeenCalledWith(conversationId, message);
|
||||
expect(notificationsService.createMessageNotification).toHaveBeenCalledWith(
|
||||
senderId,
|
||||
recipientId,
|
||||
conversationId,
|
||||
'hello',
|
||||
message.id,
|
||||
);
|
||||
});
|
||||
|
||||
it('emits new_message after a media upload message is created through the service', async () => {
|
||||
|
||||
Reference in New Issue
Block a user