mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
filterAndSortContacts should tokenize
This commit is contained in:
@@ -551,7 +551,8 @@ describe('both/state/selectors/conversations', () => {
|
||||
const result = getComposeContacts(state);
|
||||
|
||||
const ids = result.map(contact => contact.id);
|
||||
assert.deepEqual(ids, ['convo-1', 'convo-5']);
|
||||
// NOTE: convo-6 matches because you can't write "Sharing" without "in"
|
||||
assert.deepEqual(ids, ['convo-1', 'convo-5', 'convo-6']);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user