Increased the distance to support contacts that may have even longer titles
This commit is contained in:
parent
a160fb7963
commit
3991b06256
2 changed files with 5 additions and 5 deletions
|
@ -29,7 +29,7 @@ describe('filterAndSortConversationsByRecent', () => {
|
|||
activeAt: 2,
|
||||
}),
|
||||
getDefaultConversation({
|
||||
title: 'A long title ending with burrito',
|
||||
title: 'A long long long title ending with burrito',
|
||||
}),
|
||||
];
|
||||
|
||||
|
@ -45,7 +45,7 @@ describe('filterAndSortConversationsByRecent', () => {
|
|||
'Boxing Club',
|
||||
'Abraham Lincoln',
|
||||
'Not recent',
|
||||
'A long title ending with burrito',
|
||||
'A long long long title ending with burrito',
|
||||
]);
|
||||
});
|
||||
|
||||
|
@ -55,6 +55,6 @@ describe('filterAndSortConversationsByRecent', () => {
|
|||
'burrito',
|
||||
'US'
|
||||
).map(convo => convo.title);
|
||||
assert.deepEqual(titles, ['A long title ending with burrito']);
|
||||
assert.deepEqual(titles, ['A long long long title ending with burrito']);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue