mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
background.ts: Introduce types for redux initialState
This commit is contained in:
@@ -222,6 +222,20 @@ describe('message send state utilities', () => {
|
||||
)
|
||||
);
|
||||
});
|
||||
|
||||
it('returns false if the message is for you but we have no conversationId', () => {
|
||||
assert.isFalse(
|
||||
isMessageJustForMe(
|
||||
{
|
||||
[ourConversationId]: {
|
||||
status: SendStatus.Sent,
|
||||
updatedAt: 123,
|
||||
},
|
||||
},
|
||||
undefined
|
||||
)
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
describe('sendStateReducer', () => {
|
||||
|
||||
Reference in New Issue
Block a user