mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-01 16:05:39 +00:00
test: follow the mention target setting in the composer wiring check
This commit is contained in:
@@ -21,7 +21,7 @@ describe('ComposeScreen mention wiring', () => {
|
|||||||
expect(items).toMatch(/\.\.\.bccRecipients/);
|
expect(items).toMatch(/\.\.\.bccRecipients/);
|
||||||
expect(items).toMatch(/primaryIdentity\?\.bcc/);
|
expect(items).toMatch(/primaryIdentity\?\.bcc/);
|
||||||
expect(items).toMatch(/!onMessage\.has\(s\.email\.trim\(\)\.toLowerCase\(\)\)/);
|
expect(items).toMatch(/!onMessage\.has\(s\.email\.trim\(\)\.toLowerCase\(\)\)/);
|
||||||
expect(items).toMatch(/mentionSuggestions\(mentionCandidates, contacts, mentionQuery, 'to'\)/);
|
expect(items).toMatch(/mentionSuggestions\(mentionCandidates, contacts, mentionQuery, mentionAddsRecipientTo === 'cc' \? 'cc' : 'to'\)/);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('inserts the picked mention as a mailto link and adds a contact to To', () => {
|
it('inserts the picked mention as a mailto link and adds a contact to To', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user