Changeset View
Changeset View
Standalone View
Standalone View
lib/reducers/message-reducer.test.js
Show First 20 Lines • Show All 286 Lines • ▼ Show 20 Lines | const { messageStore: updatedMessageStore } = reduceMessageStore( | ||||
payload: { | payload: { | ||||
currentUserID: '', | currentUserID: '', | ||||
drafts: [], | drafts: [], | ||||
threadStore: { | threadStore: { | ||||
threadInfos: {}, | threadInfos: {}, | ||||
}, | }, | ||||
messageStoreThreads: [], | messageStoreThreads: [], | ||||
messages: clientDBMessages, | messages: clientDBMessages, | ||||
reports: [], | |||||
}, | }, | ||||
}, | }, | ||||
{ | { | ||||
[88471]: createPendingThread({ | [88471]: createPendingThread({ | ||||
viewerID: '', | viewerID: '', | ||||
threadType: threadTypes.LOCAL, | threadType: threadTypes.LOCAL, | ||||
members: [{ id: '', username: '' }], | members: [{ id: '', username: '' }], | ||||
}), | }), | ||||
Show All 16 Lines |