File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
package/src/components/MessageList/__tests__ Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -399,15 +399,15 @@ describe('MessageList', () => {
399399 await channel . watch ( ) ;
400400
401401 const channelUnreadState = {
402- unread_messages : 5 ,
403402 last_read : new Date ( ) ,
404403 last_read_message_id : '5' ,
404+ unread_messages : 5 ,
405405 } ;
406406
407407 channel . state = {
408408 ...channelInitialState ,
409- messages,
410409 latestMessages : [ ] ,
410+ messages,
411411 } ;
412412
413413 const { queryByLabelText } = render (
@@ -441,14 +441,14 @@ describe('MessageList', () => {
441441 await channel . watch ( ) ;
442442
443443 const channelUnreadState = {
444- unread_messages : 0 ,
445444 last_read : new Date ( ) ,
445+ unread_messages : 0 ,
446446 } ;
447447
448448 channel . state = {
449449 ...channelInitialState ,
450- messages,
451450 latestMessages : [ ] ,
451+ messages,
452452 } ;
453453
454454 const { queryByLabelText } = render (
You can’t perform that action at this time.
0 commit comments